Package com.sun.xml.wss.provider.wsit
Class SAMAuthConfig
java.lang.Object
com.sun.xml.wss.provider.wsit.SAMAuthConfig
- All Implemented Interfaces:
AuthConfig,ServerAuthConfig
Required wrapper for custom
ServerAuthModule- Author:
- David Matejcek
-
Constructor Summary
ConstructorsConstructorDescriptionSAMAuthConfig(String layer, String appContext, CallbackHandler handler, ServerAuthModule serverAuthModule) -
Method Summary
Modifier and TypeMethodDescriptiongetAuthContextID(MessageInfo messageInfo) booleanvoidrefresh()
-
Constructor Details
-
SAMAuthConfig
public SAMAuthConfig(String layer, String appContext, CallbackHandler handler, ServerAuthModule serverAuthModule) - Parameters:
layer- - usually SOAP or HttpServlet
-
-
Method Details
-
getMessageLayer
- Specified by:
getMessageLayerin interfaceAuthConfig
-
getAppContext
- Specified by:
getAppContextin interfaceAuthConfig
-
getAuthContextID
- Specified by:
getAuthContextIDin interfaceAuthConfig
-
refresh
public void refresh()- Specified by:
refreshin interfaceAuthConfig
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfaceAuthConfig
-
getAuthContext
public ServerAuthContext getAuthContext(String authContextID, Subject serviceSubject, Map<String, Object> properties) throws AuthException- Specified by:
getAuthContextin interfaceServerAuthConfig- Throws:
AuthException
-