Class SimpleServerAuthContext
- java.lang.Object
- 
- org.apache.catalina.authenticator.jaspic.SimpleServerAuthContext
 
- 
- All Implemented Interfaces:
- ServerAuthContext,- ServerAuth
 
 public class SimpleServerAuthContext extends java.lang.Object implements ServerAuthContext Basic implementation primarily intended for use when using third-partyServerAuthModuleimplementations that only provide the module. This implementation supports multiple modules and will treat the user as authenticated if any one module is able to authenticate the user.
- 
- 
Constructor SummaryConstructors Constructor Description SimpleServerAuthContext(java.util.List<ServerAuthModule> modules)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanSubject(MessageInfo messageInfo, javax.security.auth.Subject subject)AuthStatussecureResponse(MessageInfo messageInfo, javax.security.auth.Subject serviceSubject)AuthStatusvalidateRequest(MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject)
 
- 
- 
- 
Constructor Detail- 
SimpleServerAuthContextpublic SimpleServerAuthContext(java.util.List<ServerAuthModule> modules) 
 
- 
 - 
Method Detail- 
validateRequestpublic AuthStatus validateRequest(MessageInfo messageInfo, javax.security.auth.Subject clientSubject, javax.security.auth.Subject serviceSubject) throws AuthException - Specified by:
- validateRequestin interface- ServerAuth
- Throws:
- AuthException
 
 - 
secureResponsepublic AuthStatus secureResponse(MessageInfo messageInfo, javax.security.auth.Subject serviceSubject) throws AuthException - Specified by:
- secureResponsein interface- ServerAuth
- Throws:
- AuthException
 
 - 
cleanSubjectpublic void cleanSubject(MessageInfo messageInfo, javax.security.auth.Subject subject) throws AuthException - Specified by:
- cleanSubjectin interface- ServerAuth
- Throws:
- AuthException
 
 
- 
 
-