Class UsernameTokenSecurityStrategy
java.lang.Object
org.mule.runtime.extension.api.soap.security.UsernameTokenSecurityStrategy
- 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
-
Constructor Summary
ConstructorsConstructorDescriptionUsernameTokenSecurityStrategy(String username, String password, PasswordType passwordType) UsernameTokenSecurityStrategy(String username, String password, PasswordType passwordType, boolean addNonce, boolean addCreated) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SecurityStrategyVisitor visitor) Dispatches in a reflective way to the method with the specificSecurityStrategytype as argument.booleanboolean
-
Constructor Details
-
UsernameTokenSecurityStrategy
public UsernameTokenSecurityStrategy(String username, String password, PasswordType passwordType, boolean addNonce, boolean addCreated) -
UsernameTokenSecurityStrategy
-
-
Method Details
-
getUsername
-
getPassword
-
getPasswordType
-
isAddNonce
public boolean isAddNonce() -
isAddCreated
public boolean isAddCreated() -
accept
Description copied from interface:SecurityStrategyDispatches in a reflective way to the method with the specificSecurityStrategytype as argument.- Specified by:
acceptin interfaceSecurityStrategy- Parameters:
visitor- the accepted visitor.
-