Class SimpleServerAuthContext
java.lang.Object
org.apache.catalina.authenticator.jaspic.SimpleServerAuthContext
- All Implemented Interfaces:
ServerAuthContext,ServerAuth
Basic implementation primarily intended for use when using third-party
ServerAuthModule implementations 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanSubject(MessageInfo messageInfo, Subject subject) secureResponse(MessageInfo messageInfo, Subject serviceSubject) validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)
-
Constructor Details
-
SimpleServerAuthContext
-
-
Method Details
-
validateRequest
public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException - Specified by:
validateRequestin interfaceServerAuth- Throws:
AuthException
-
secureResponse
public AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject) throws AuthException - Specified by:
secureResponsein interfaceServerAuth- Throws:
AuthException
-
cleanSubject
- Specified by:
cleanSubjectin interfaceServerAuth- Throws:
AuthException
-