|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.wss.security.UserNameTokenSpec
public class UserNameTokenSpec
This class defines the specification for generating the Username security
tokens.
It implements SecurityTokenSpec
interface.
Constructor Summary | |
---|---|
UserNameTokenSpec()
|
Method Summary | |
---|---|
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 |
Constructor Detail |
---|
public UserNameTokenSpec()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |