com.sun.identity.wss.security
クラス UserNameTokenSpec

java.lang.Object
  上位を拡張 com.sun.identity.wss.security.UserNameTokenSpec
すべての実装されたインタフェース:
SecurityTokenSpec

public class UserNameTokenSpec
extends Object
implements SecurityTokenSpec

This class defines the specification for generating the Username security tokens. It implements SecurityTokenSpec interface.


コンストラクタの概要
UserNameTokenSpec()
           
 
メソッドの概要
 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
 

コンストラクタの詳細

UserNameTokenSpec

public UserNameTokenSpec()
メソッドの詳細

getPasswordType

public String getPasswordType()
Returns the password type.

戻り値:
the password type.

setPasswordType

public void setPasswordType(String passwordType)
Sets the password type.

パラメータ:
passwordType - the password type.

setNonce

public void setNonce(boolean isNonce)
Sets if the nonce should be used.

パラメータ:
isNonce - true if the nonce should be used.

isCreateNonce

public boolean isCreateNonce()
Checks if the nonce should be used.

戻り値:
true if the nonce should be used.

isCreateTimeStamp

public boolean isCreateTimeStamp()
Checks if the creation time stamp should be used.

戻り値:
true if the create time stamp should be used.

setCreateTimeStamp

public void setCreateTimeStamp(boolean isTimeStamp)
Sets if the create time stamp should be used.

パラメータ:
isTimeStamp - true if the time stamp should be used.

setUserName

public void setUserName(String username)
Sets the username

パラメータ:
username - the username to be used in username token.

getUserName

public String getUserName()
Returns the username

戻り値:
the user name.

setPassword

public void setPassword(String password)
Sets the user password to be used in username token.

パラメータ:
password - the password to be used in username token.

getPassword

public String getPassword()
Returns the password.

戻り値:
the password.