adplus-dvertising
frame-decoration

Question

Servlet APIs to access security information of web application.

a.

HttpServletRequest.isUserInRole()

b.

HttpServletRequest.getUserPrincipal()

c.

None of the mentioned

d.

All of the mentioned

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Servlet APIs to access security information of web application.

Similar Questions

Discover Related MCQs

Q. To load root application context at the start up.

Q. To dispatch requests for web application.

Q. The responsibility of DelegatingFilterProxy is simply to delegate HTTP request filtering to a Spring bean that implements the interface:-

Q. By default, DelegatingFilterProxy delegates to a bean whose name is the same as its filter-name property.

Q. Filter chain configured by Spring security, when web app security enabled.

Q. The http auto-config=”false” element automatically configures the basic security services that a typical web application needs.

Q. Element used to restrict access to a particular URL.

Q. Element which configures authentication services.

Q. Element which defines user details.

Q. Which of the following way to provide authenticity of users is/are supported by Spring Security?

Q. The basic security services registered and configured by Spring Security.

Q. HTTP Basic authentication support is configured by:-

Q. Form-based login is configured by:-

Q. Action URL can be customized using form-login.

Q. Attribute used to display custom login page.

Q. Attribute which specifies redirection URL on login error.

Q. Session scope attribute to display error message.

Q. Logout service is configured by:-

Q. Element which redirects to a specific URL on logout.

Q. Anonymous login services can be configured by:-