com.sun.xml.wss.provider.wsit
Class WSITAuthConfigProvider

java.lang.Object
  extended by com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
All Implemented Interfaces:
AuthConfigProvider

public class WSITAuthConfigProvider
extends java.lang.Object
implements AuthConfigProvider

Author:
kumar.jayanti

Constructor Summary
WSITAuthConfigProvider(java.util.Map props, AuthConfigFactory factory)
          Creates a new instance of WSITAuthConfigProvider
 
Method Summary
 ClientAuthConfig getClientAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler callbackHandler)
           
 ServerAuthConfig getServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler callbackHandler)
           
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.
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSITAuthConfigProvider

public WSITAuthConfigProvider(java.util.Map props,
                              AuthConfigFactory factory)
Creates a new instance of WSITAuthConfigProvider

Method Detail

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 assembler
wsdlPort - wsdl:port
Returns:
true if Security is enabled, false otherwise


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.