public boolean authenticate(HttpRequest request,
HttpResponse response,
LoginConfig config) throws IOException {
/* 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 (debug >= 1)
{
log("User authentication is not required");
}
return (true);
}
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.
Differs from the standard Tomcat version in that it associates the
session of any request with any single sign-on session that may exist. |