|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.provider.wsit.WSITAuthConfigProvider
public class WSITAuthConfigProvider
| 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)
Get an instance of ClientAuthConfig from this provider. |
ServerAuthConfig |
getServerAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Get an instance of ServerAuthConfig from this provider. |
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()
Causes a dynamic configuration provider to update its internal state such that any resulting change to its state is reflected in the corresponding authentication context configuration objects previously created by the provider within the current process context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSITAuthConfigProvider(java.util.Map props,
AuthConfigFactory factory)
| Method Detail |
|---|
public ClientAuthConfig getClientAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws AuthException
AuthConfigProviderThe implementation of this method returns a ClientAuthConfig instance that describes the configuration of ClientAuthModules at a given message layer, and for use in an identified application context.
getClientAuthConfig in interface AuthConfigProviderlayer - A String identifying the message layer
for the returned ClientAuthConfig object.
This argument must not be null.appContext - A String that identifies the messaging context
for the returned ClientAuthConfig object.
This argument must not be null.callbackHandler - A CallbackHandler to be passed to the ClientAuthModules
encapsulated by ClientAuthContext objects derived from the
returned ClientAuthConfig. This argument may be null,
in which case the implementation may assign a default handler
to the configuration.
The CallbackHandler assigned to the configuration must support
the Callback objects required to be supported by the profile
of this specification being followed by the messaging runtime.
The CallbackHandler instance must be initialized with any
application context needed to process the required callbacks
on behalf of the corresponding application.
AuthException - If this provider does not support the
assignment of a default CallbackHandler to the returned
ClientAuthConfig.
public ServerAuthConfig getServerAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws AuthException
AuthConfigProviderThe implementation of this method returns a ServerAuthConfig instance that describes the configuration of ServerAuthModules at a given message layer, and for a particular application context.
getServerAuthConfig in interface AuthConfigProviderlayer - A String identifying the message layer
for the returned ServerAuthConfig object.
This argument must not be null.appContext - A String that identifies the messaging context
for the returned ServerAuthConfig object.
This argument must not be null.callbackHandler - A CallbackHandler to be passed to the ServerAuthModules
encapsulated by ServerAuthContext objects derived from the
returned ServerAuthConfig. This argument may be null,
in which case the implementation may assign a default handler
to the configuration.
The CallbackHandler assigned to the configuration must support
the Callback objects required to be supported by the profile
of this specification being followed by the messaging runtime.
The CallbackHandler instance must be initialized with any
application context needed to process the required callbacks
on behalf of the corresponding application.
AuthException - If this provider does not support the
assignment of a default CallbackHandler to the returned
ServerAuthConfig.public void refresh()
AuthConfigProvider
refresh in interface AuthConfigProvider
public static boolean isSecurityEnabled(com.sun.xml.ws.policy.PolicyMap policyMap,
com.sun.xml.ws.api.model.wsdl.WSDLPort wsdlPort)
policyMap - policy map for this assemblerwsdlPort - wsdl:port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||