Role Based Authentication technique used for authentication mechanism in servlet specification - JSP

Q.  What technique is used for the authentication mechanism in the servlet specification?
- Published on 19 Oct 15

a. Role Based Authentication
b. Form Based Authentication
c. Both A & B
d. None of the above

ANSWER: Role Based Authentication
 

    Discussion

  • Nirja Shah   -Posted on 14 Dec 15
    Role Based Authentication
    - The authentication mechanism in the servlet specification uses a technique called role-based security. - The idea is that rather than restricting resources at the user level, you create roles and restrict the resources by role.

    Form Based Authentication:
    - When this authentication method is used, you must supply a login form to prompt the user for a username and password.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)