Class SimpleServerAuthContext
- java.lang.Object
-
- org.apache.catalina.authenticator.jaspic.SimpleServerAuthContext
-
- All Implemented Interfaces:
ServerAuthContext
,ServerAuth
public class SimpleServerAuthContext extends Object implements ServerAuthContext
Basic implementation primarily intended for use when using third-partyServerAuthModule
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 Constructor Description SimpleServerAuthContext(List<ServerAuthModule> modules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanSubject(MessageInfo messageInfo, Subject subject)
AuthStatus
secureResponse(MessageInfo messageInfo, Subject serviceSubject)
AuthStatus
validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)
-
-
-
Constructor Detail
-
SimpleServerAuthContext
public SimpleServerAuthContext(List<ServerAuthModule> modules)
-
-
Method Detail
-
validateRequest
public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException
- Specified by:
validateRequest
in interfaceServerAuth
- Throws:
AuthException
-
secureResponse
public AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject) throws AuthException
- Specified by:
secureResponse
in interfaceServerAuth
- Throws:
AuthException
-
cleanSubject
public void cleanSubject(MessageInfo messageInfo, Subject subject) throws AuthException
- Specified by:
cleanSubject
in interfaceServerAuth
- Throws:
AuthException
-
-