Package org.mule.soap.api.security
Class WssUsernameTokenSecurityStrategy
java.lang.Object
org.mule.soap.api.security.WssUsernameTokenSecurityStrategy
- All Implemented Interfaces:
SecurityStrategy
Provides the capability to authenticate using Username and Password with a SOAP service by adding the UsernameToken element in
the SOAP request.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mule.soap.api.security.SecurityStrategy
SecurityStrategy.SecurityStrategyType -
Constructor Summary
ConstructorsConstructorDescriptionWssUsernameTokenSecurityStrategy(String user, String password, PasswordType passwordType, boolean addNonce, boolean addCreated) -
Method Summary
Modifier and TypeMethodDescriptionGives the option to return a customWSPasswordCallbackHandlerinstance allowing to compose many password handlers from different security strategies.Returns a set of properties to be set on the SOAP request interceptors (OUT interceptors) in order to appliesthissecurity strategy.Returns the security action name that is going to be executed in the request phase (OUT interceptors).Returns the type of the security strategy, if applies for the request or the response.
-
Constructor Details
-
WssUsernameTokenSecurityStrategy
public WssUsernameTokenSecurityStrategy(String user, String password, PasswordType passwordType, boolean addNonce, boolean addCreated)
-
-
Method Details
-
securityType
Description copied from interface:SecurityStrategyReturns the type of the security strategy, if applies for the request or the response.- Specified by:
securityTypein interfaceSecurityStrategy- Returns:
- whether is the security strategy applies for the request or the response.
-
buildPasswordCallbackHandler
Description copied from interface:SecurityStrategyGives the option to return a customWSPasswordCallbackHandlerinstance allowing to compose many password handlers from different security strategies.- Specified by:
buildPasswordCallbackHandlerin interfaceSecurityStrategy- Returns:
- an optional
WSPasswordCallbackHandlerto be added to the composite callback handler.
-
securityAction
Description copied from interface:SecurityStrategyReturns the security action name that is going to be executed in the request phase (OUT interceptors).- Specified by:
securityActionin interfaceSecurityStrategy- Returns:
- the request action name of
thissecurity strategy.
-
buildSecurityProperties
Description copied from interface:SecurityStrategyReturns a set of properties to be set on the SOAP request interceptors (OUT interceptors) in order to appliesthissecurity strategy.- Specified by:
buildSecurityPropertiesin interfaceSecurityStrategy- Returns:
- a
Mapwith the properties required to apply the security strategy.
-