public final class UsernameTokenSecurityStrategy extends Object implements SecurityStrategy
| Constructor and Description |
|---|
UsernameTokenSecurityStrategy(String username,
String password,
PasswordType passwordType) |
UsernameTokenSecurityStrategy(String username,
String password,
PasswordType passwordType,
boolean addNonce,
boolean addCreated) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SecurityStrategyVisitor visitor)
Dispatches in a reflective way to the method with the specific
SecurityStrategy type as argument. |
String |
getPassword() |
PasswordType |
getPasswordType() |
String |
getUsername() |
boolean |
isAddCreated() |
boolean |
isAddNonce() |
public UsernameTokenSecurityStrategy(String username, String password, PasswordType passwordType, boolean addNonce, boolean addCreated)
public UsernameTokenSecurityStrategy(String username, String password, PasswordType passwordType)
public String getUsername()
public String getPassword()
public PasswordType getPasswordType()
public boolean isAddNonce()
public boolean isAddCreated()
public void accept(SecurityStrategyVisitor visitor)
SecurityStrategySecurityStrategy type as argument.accept in interface SecurityStrategyvisitor - the accepted visitor.Copyright © 2017 MuleSoft, Inc.. All rights reserved.