Package com.sun.xml.wss.provider.wsit
Class WSITAuthConfigProvider
java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
- All Implemented Interfaces:
jakarta.security.auth.message.config.AuthConfigProvider
public class WSITAuthConfigProvider
extends Object
implements jakarta.security.auth.message.config.AuthConfigProvider
- Author:
- kumar.jayanti
-
Constructor Summary
ConstructorsConstructorDescriptionWSITAuthConfigProvider(Map<String, String> props, jakarta.security.auth.message.config.AuthConfigFactory factory) Creates a new instance of WSITAuthConfigProvider -
Method Summary
Modifier and TypeMethodDescriptionjakarta.security.auth.message.config.ClientAuthConfiggetClientAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) jakarta.security.auth.message.config.ServerAuthConfiggetServerAuthConfig(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
-
Method Details
-
getClientAuthConfig
public jakarta.security.auth.message.config.ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) - Specified by:
getClientAuthConfigin interfacejakarta.security.auth.message.config.AuthConfigProvider
-
getServerAuthConfig
public jakarta.security.auth.message.config.ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler callbackHandler) - Specified by:
getServerAuthConfigin interfacejakarta.security.auth.message.config.AuthConfigProvider
-
refresh
public void refresh()- Specified by:
refreshin interfacejakarta.security.auth.message.config.AuthConfigProvider
-
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
-