Apply level authentication in the servlet in the WebLogic environment
Using the application server itself in WebLogic, you can comprehensively implement user authentication. Since we are mainly for development, this mainly explains the use of user role rules in servlet (that is, the HTTP user authentication we often say, the following is still using the noun we are familiar with).
Three ways for WebLogic user authentication
In the WebLogic application server, there are three different user authentication methods:
Basic
Basic identity authentication methods, using a web browser to pop up a dialog box requesting to enter a username and password. This username and password will be enforced in some (some) content modules of the website.
FORM
Form-based user authentication requires that you return an HTML form including a username and password, this form corresponds to the element of the username and password must be j_username and j_password, and the Action Description of the form must be j_security_check. Here is an example of a form: