| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: boolean to indicate whether the user is authenticatedRequest we are processing request, HttpServletResponse Response we are creating response)Implements abstract org.
Authenticate the user making this request, based on the fact that no |
| protected String | getAuthMethod()
Implements abstract org. Return the authentication method, which is vendor-specific and not defined by HttpServletRequest. |
| NonLoginAuthenticator | back to summary |
|---|---|
| public NonLoginAuthenticator() | |
| doAuthenticate | back to summary |
|---|---|
| protected boolean doAuthenticate(Request request, HttpServletResponse response) throws IOException Implements abstract org.
Authenticate the user making this request, based on the fact that no This implementation means "login the user even though there is no self-contained way to establish a security Principal for that user".
This method is called by the AuthenticatorBase super class to establish a Principal for the user BEFORE the
container security constraints are examined, i.e. it is not yet known whether the user will eventually be
permitted to access the requested resource. Therefore, it is necessary to always return There are two cases:
| |
| getAuthMethod | back to summary |
|---|---|
| protected String getAuthMethod() Implements abstract org. Doc from org. Return the authentication method, which is vendor-specific and not defined by HttpServletRequest. | |