Package com.sun.xml.wss.provider.wsit
Class SAMAuthContext
java.lang.Object
com.sun.xml.wss.provider.wsit.SAMAuthContext
- All Implemented Interfaces:
ServerAuthContext,ServerAuth
Required wrapper for custom
ServerAuthModule- Author:
- David Matejcek
-
Constructor Summary
ConstructorsConstructorDescriptionSAMAuthContext(CallbackHandler handler, ServerAuthModule serverAuthModule) Creates instance of this class and callsServerAuthModule.initialize(jakarta.security.auth.message.MessagePolicy, jakarta.security.auth.message.MessagePolicy, CallbackHandler, java.util.Map) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanSubject(MessageInfo messageInfo, Subject subject) validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.security.auth.message.ServerAuth
secureResponse
-
Constructor Details
-
SAMAuthContext
public SAMAuthContext(CallbackHandler handler, ServerAuthModule serverAuthModule) throws AuthException Creates instance of this class and callsServerAuthModule.initialize(jakarta.security.auth.message.MessagePolicy, jakarta.security.auth.message.MessagePolicy, CallbackHandler, java.util.Map)- Throws:
AuthException
-
-
Method Details
-
validateRequest
public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException - Specified by:
validateRequestin interfaceServerAuth- Throws:
AuthException
-
cleanSubject
- Specified by:
cleanSubjectin interfaceServerAuth- Throws:
AuthException
-