com.sun.xml.wss.provider.wsit
Class WSITAuthConfigProvider
java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
- All Implemented Interfaces:
- AuthConfigProvider
public class WSITAuthConfigProvider
- extends java.lang.Object
- implements AuthConfigProvider
- Author:
- kumar.jayanti
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSITAuthConfigProvider
public WSITAuthConfigProvider(java.util.Map props,
AuthConfigFactory factory)
- Creates a new instance of WSITAuthConfigProvider
getClientAuthConfig
public ClientAuthConfig getClientAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws AuthException
- Specified by:
getClientAuthConfig in interface AuthConfigProvider
- Throws:
AuthException
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws AuthException
- Specified by:
getServerAuthConfig in interface AuthConfigProvider
- Throws:
AuthException
refresh
public void refresh()
- Specified by:
refresh in interface AuthConfigProvider
isSecurityEnabled
public static boolean isSecurityEnabled(com.sun.xml.ws.policy.PolicyMap policyMap,
com.sun.xml.ws.api.model.wsdl.WSDLPort wsdlPort)
- Checks to see whether WS-Security is enabled or not.
- Parameters:
policyMap - policy map for this assemblerwsdlPort - wsdl:port
- Returns:
- true if Security is enabled, false otherwise
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.