Package com.sun.xml.wss.provider.wsit
Class SAMConfigProvider
java.lang.Object
com.sun.xml.wss.provider.wsit.SAMConfigProvider
- All Implemented Interfaces:
AuthConfigProvider
Required wrapper for custom
ServerAuthModule.- Author:
- David Matejcek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientAuthConfig(String layer, String appContext, CallbackHandler handler) getServerAuthConfig(String layer, String appContext, CallbackHandler handler) voidrefresh()
-
Constructor Details
-
SAMConfigProvider
- Parameters:
serverAuthModule- - this module does all the authentication,
-
-
Method Details
-
getClientAuthConfig
public ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException - Specified by:
getClientAuthConfigin interfaceAuthConfigProvider- Throws:
AuthException
-
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException - Specified by:
getServerAuthConfigin interfaceAuthConfigProvider- Throws:
AuthException
-
refresh
public void refresh()- Specified by:
refreshin interfaceAuthConfigProvider
-