com.sun.xml.wss.provider
Class WssProviderAuthModule
java.lang.Object
com.sun.xml.wss.provider.WssProviderAuthModule
- All Implemented Interfaces:
- ConfigurationStates, ModuleOptions
- Direct Known Subclasses:
- ClientSecurityAuthModule, ServerSecurityAuthModule
public class WssProviderAuthModule
- extends Object
- implements ModuleOptions, ConfigurationStates
|
Method Summary |
void |
initialize(com.sun.enterprise.security.jauth.AuthPolicy requestPolicy,
com.sun.enterprise.security.jauth.AuthPolicy responsePolicy,
CallbackHandler handler,
Map options,
boolean isClientAuthModule)
Initialization method for Client and Server Auth Modules |
protected boolean |
isOptimized(SOAPMessage msg)
|
int |
resolveConfigurationState(com.sun.enterprise.security.jauth.AuthPolicy policy,
boolean isRequestPolicy,
boolean isClientAuthModule)
Resolves the state of a policy object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_policy
protected SecurityPolicy _policy
_sEnvironment
protected WssProviderSecurityEnvironment _sEnvironment
REQUESTER_SUBJECT
public static final String REQUESTER_SUBJECT
- See Also:
- Constant Field Values
REQUESTER_KEYID
public static final String REQUESTER_KEYID
- See Also:
- Constant Field Values
REQUESTER_ISSUERNAME
public static final String REQUESTER_ISSUERNAME
- See Also:
- Constant Field Values
REQUESTER_SERIAL
public static final String REQUESTER_SERIAL
- See Also:
- Constant Field Values
SELF_SUBJECT
public static final String SELF_SUBJECT
- See Also:
- Constant Field Values
optimize
protected int optimize
configOptimizeAttribute
protected boolean configOptimizeAttribute
WssProviderAuthModule
public WssProviderAuthModule()
initialize
public void initialize(com.sun.enterprise.security.jauth.AuthPolicy requestPolicy,
com.sun.enterprise.security.jauth.AuthPolicy responsePolicy,
CallbackHandler handler,
Map options,
boolean isClientAuthModule)
- Initialization method for Client and Server Auth Modules
- Parameters:
requestPolicy - used to validate request on server side
and to secure request on client sideresponsePolicy - used to validate response on client side
and to secure response on server sidehandler - CallbackHandleroptions - Map of module optionsisClientAuthModule - indicates if the current instance is client or server module
- Throws:
RuntimeException
resolveConfigurationState
public int resolveConfigurationState(com.sun.enterprise.security.jauth.AuthPolicy policy,
boolean isRequestPolicy,
boolean isClientAuthModule)
- Resolves the state of a policy object
- Specified by:
resolveConfigurationState in interface ConfigurationStates
- Parameters:
policy - AuthPolicy object whose state is to be resolved
- Returns:
- configurationState
returns one of the possible states defined in ConfigurationStates
- Throws:
RuntimeException
isOptimized
protected boolean isOptimized(SOAPMessage msg)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.