public class WssUsernameTokenSecurityStrategy extends Object implements SecurityStrategy
| Constructor and Description |
|---|
WssUsernameTokenSecurityStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Optional<WSPasswordCallbackHandler> |
buildPasswordCallbackHandler()
Gives the option to return a custom
WSPasswordCallbackHandler instance allowing to compose many password handlers
from different security strategies. |
Map<String,Object> |
buildSecurityProperties()
Returns a set of properties to be set on the SOAP request interceptors (OUT interceptors) in order to
applies
this security strategy. |
void |
initializeTlsContextFactory(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
Initializes the tlsContext for the security strategies that require one.
|
String |
securityAction()
Returns the security action name that is going to be executed in the request phase (OUT interceptors).
|
SecurityStrategyType |
securityType()
Returns the type of the security strategy, if applies for the request or the response.
|
public SecurityStrategyType securityType()
SecurityStrategysecurityType in interface SecurityStrategypublic Optional<WSPasswordCallbackHandler> buildPasswordCallbackHandler()
SecurityStrategyWSPasswordCallbackHandler instance allowing to compose many password handlers
from different security strategies.buildPasswordCallbackHandler in interface SecurityStrategyWSPasswordCallbackHandler to be added to the composite callback handler.public String securityAction()
SecurityStrategysecurityAction in interface SecurityStrategythis security strategy.public Map<String,Object> buildSecurityProperties()
SecurityStrategythis security strategy.buildSecurityProperties in interface SecurityStrategyMap with the properties required to apply the security strategy.public void initializeTlsContextFactory(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
SecurityStrategyinitializeTlsContextFactory in interface SecurityStrategytlsContextFactory - the connection configured connection factory.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.