Package com.sun.xml.wss.provider.wsit
Class WSITAuthConfigProvider
java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
- All Implemented Interfaces:
AuthConfigProvider
- Author:
- kumar.jayanti
-
Constructor Summary
ConstructorsConstructorDescriptionWSITAuthConfigProvider(Map<String, String> props, AuthConfigFactory factory) Creates a new instance of WSITAuthConfigProvider -
Method Summary
Modifier and TypeMethodDescriptiongetClientAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) getServerAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) static booleanisSecurityEnabled(PolicyMap policyMap, WSDLPort wsdlPort) Checks to see whether WS-Security is enabled or not.voidrefresh()
-
Constructor Details
-
WSITAuthConfigProvider
Creates a new instance of WSITAuthConfigProvider
-
-
Method Details
-
getClientAuthConfig
public ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) - Specified by:
getClientAuthConfigin interfaceAuthConfigProvider
-
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) - Specified by:
getServerAuthConfigin interfaceAuthConfigProvider
-
refresh
public void refresh()- Specified by:
refreshin interfaceAuthConfigProvider
-
isSecurityEnabled
Checks to see whether WS-Security is enabled or not.- Parameters:
policyMap- policy map forthisassemblerwsdlPort- wsdl:port- Returns:
- true if Security is enabled, false otherwise
-