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

java.lang.Object
  extended by com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
All Implemented Interfaces:
javax.security.auth.message.config.AuthConfigProvider

public class WSITAuthConfigProvider
extends Object
implements javax.security.auth.message.config.AuthConfigProvider

Author:
kumar.jayanti

Constructor Summary
WSITAuthConfigProvider(Map props, javax.security.auth.message.config.AuthConfigFactory factory)
          Creates a new instance of WSITAuthConfigProvider
 
Method Summary
 javax.security.auth.message.config.ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler callbackHandler)
           
 javax.security.auth.message.config.ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler callbackHandler)
           
static boolean isSecurityEnabled(PolicyMap policyMap, 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(Map props,
                              javax.security.auth.message.config.AuthConfigFactory factory)
Creates a new instance of WSITAuthConfigProvider

Method Detail

getClientAuthConfig

public javax.security.auth.message.config.ClientAuthConfig getClientAuthConfig(String layer,
                                                                               String appContext,
                                                                               CallbackHandler callbackHandler)
                                                                        throws javax.security.auth.message.AuthException
Specified by:
getClientAuthConfig in interface javax.security.auth.message.config.AuthConfigProvider
Throws:
javax.security.auth.message.AuthException

getServerAuthConfig

public javax.security.auth.message.config.ServerAuthConfig getServerAuthConfig(String layer,
                                                                               String appContext,
                                                                               CallbackHandler callbackHandler)
                                                                        throws javax.security.auth.message.AuthException
Specified by:
getServerAuthConfig in interface javax.security.auth.message.config.AuthConfigProvider
Throws:
javax.security.auth.message.AuthException

refresh

public void refresh()
Specified by:
refresh in interface javax.security.auth.message.config.AuthConfigProvider

isSecurityEnabled

public static boolean isSecurityEnabled(PolicyMap policyMap,
                                        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-2015 Oracle Corporation. All Rights Reserved.