NonLoginAuthenticatorpublic final class NonLoginAuthenticator extends AuthenticatorBase An Authenticator and Valve implementation that checks
only security constraints not involving user authentication. |
Fields Summary |
---|
private static final String | infoDescriptive information about this implementation. |
Methods Summary |
---|
public boolean | authenticate(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response, org.apache.catalina.deploy.LoginConfig config)Authenticate the user making this request, based on the specified
login configuration. Return true if any specified
constraint has been satisfied, or false if we have
created a response challenge already.
/* Associating this request's session with an SSO would allow
coordinated session invalidation, but should the session for
a webapp that the user didn't log into be invalidated when
another session is logged out?
String ssoId = (String) request.getNote(Constants.REQ_SSOID_NOTE);
if (ssoId != null)
associate(ssoId, getSession(request, true));
*/
if (containerLog.isDebugEnabled())
containerLog.debug("User authentication is not required");
return (true);
| public java.lang.String | getInfo()Return descriptive information about this Valve implementation.
// ------------------------------------------------------------- Properties
return (info);
|
|