public class UserNameTokenSpec extends Object implements SecurityTokenSpec
SecurityTokenSpec
interface.Constructor and Description |
---|
UserNameTokenSpec() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Returns the password.
|
String |
getPasswordType()
Returns the password type.
|
String |
getUserName()
Returns the username
|
boolean |
isCreateNonce()
Checks if the nonce should be used.
|
boolean |
isCreateTimeStamp()
Checks if the creation time stamp should be used.
|
void |
setCreateTimeStamp(boolean isTimeStamp)
Sets if the create time stamp should be used.
|
void |
setNonce(boolean isNonce)
Sets if the nonce should be used.
|
void |
setPassword(String password)
Sets the user password to be used in username token.
|
void |
setPasswordType(String passwordType)
Sets the password type.
|
void |
setUserName(String username)
Sets the username
|
public String getPasswordType()
public void setPasswordType(String passwordType)
passwordType
- the password type.public void setNonce(boolean isNonce)
isNonce
- true if the nonce should be used.public boolean isCreateNonce()
public boolean isCreateTimeStamp()
public void setCreateTimeStamp(boolean isTimeStamp)
isTimeStamp
- true if the time stamp should be used.public void setUserName(String username)
username
- the username to be used in username token.public String getUserName()
public void setPassword(String password)
password
- the password to be used in username token.public String getPassword()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.