单项选择题Which security mechanism is employed only on the server-side to limit access to resources or components?()

A. authorization
B. data integrity
C. confidentiality
D. authentication


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题When using a form-based authentication, which action must be used in the login form?()

A. j_login
B. j_get_user
C. j_login_check
D. j_get_security
E. j_security_check

2.多项选择题Which two pieces of information are needed when declaring the web resource collection in the deployment descriptor?()

A. the URL pattern that requires authorization
B. the HTTP methods that require authorization
C. the users allowed access to the web resource
D. the J2EE roles allowed access to the web resource
E. the authentication mechanism required by the web resource

3.多项选择题Which two security mechanisms protect the response stream?()

A. authorization
B. data integrity
C. confidentiality
D. authentication

4.单项选择题In form-based authentication, what must be included in the HTML returned from the URL specified by the  element?()

A. a base-64 encoded user name and password
B. a form that POSTs to the j_security_check URL
C. an applet that requests the user name and password from the user
D. a hidden field that supplies the login-constraint used by the application

6.单项选择题For a given ServletResponse response, which retrieves an object for writing binary data?()

A. response.getWriter()
B. response.getOutputStream()
C. response.getOutputWriter()
D. response.getWriter().getOutputSTream()
E. response.getWriter(Writer.OUTPUT_BINARY)

8.单项选择题Given an HttpServletRequest request, which retrieves an object of type Account with an Id of “account”?()

A. Account account = request.get Resource(”account”):
B. Account account = request.get Attribute (“account”):
C. Account account = request.get Parameter (account”):
D. Account account = (Account)request.getResource (“account”):
E. Account account = (Account) request.get Attribute (“account”):
F. Account account = (Account) request.get Paramter (“account”):

9.单项选择题


What is the result?()

A. Compilation succeeds.
B. An error at line 2 cause compilation to fail.
C. An error at line 9 cause compilation to fail.
D. An error at line 10 cause compilation to fail.
E. An error at line 11 cause compilation to fail.

10.单项选择题


What is the result?()

A. The program runs and prints “Hello”
B. An error causes compilation to fail.
C. The program runs and prints “Hello world!”.
D. The program runs but aborts with an exception.

最新试题

Which the three are true about servlet filters?()

题型:多项选择题

Which the JSTL code snippet can be used to import content from another web resource?()

题型:单项选择题

Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()

题型:单项选择题

A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? ()

题型:多项选择题

Which two produce the output "one, two and three"?()

题型:多项选择题

Which two classes or interfaces provide a getSession method?()

题型:多项选择题

What code, inserted at line 21, is called prior to a session being migrated to a different JVM assuming the web application containing MyExample is deployed in a container which supports distributed applications?()

题型:单项选择题

What else must the developer do to ensure that the intended security goal is achieved()?  

题型:单项选择题

Which code snippet, inserted at line 8, causes the value Company to be output?()

题型:单项选择题

Which two are true?()

题型:多项选择题