org.eclipse.higgins.user.account
Class Account

java.lang.Object
  extended by org.eclipse.higgins.user.account.Account
All Implemented Interfaces:
Serializable

public class Account
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Account()
           
 
Method Summary
 Date getCreated()
           
 String getId()
          Get user identifier
 String getLogin()
          Get user login
 byte[] getNewPasswordHash()
          Get hash of new user password.
 String getPassphraseHash()
           
 byte[] getPasswordHash()
          Get hash of user password
 byte[] getPasswordIsapMd5()
           
 String getPasswordResetCode()
           
 String getPrivateUserINumber()
           
 Date getResetCodeDate()
           
 Account setCreated(Date created)
          Set account creation date
 Account setId(String id)
          Set user identifier
 Account setLogin(String login)
          Set user login
 Account setNewPasswordHash(byte[] newPasswordHash)
          Set hash of new user password.
 Account setPassphraseHash(String passphraseHash)
           
 Account setPasswordHash(byte[] passwordHash)
          Set hash of user password
 Account setPasswordIsapMd5(byte[] passwordIsapMd5)
           
 Account setPasswordResetCode(String passwordResetCode)
           
 Account setPrivateUserINumber(String privateUserINumber)
           
 Account setResetCodeDate(Date resetCodeDate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Account

public Account()
Method Detail

getCreated

public Date getCreated()
Returns:
Account creation date

setCreated

public Account setCreated(Date created)
Set account creation date

Parameters:
created -

getLogin

public String getLogin()
Get user login

Returns:

setLogin

public Account setLogin(String login)
Set user login

Parameters:
login -

getId

public String getId()
Get user identifier

Returns:

setId

public Account setId(String id)
Set user identifier

Parameters:
id -

getPasswordHash

public byte[] getPasswordHash()
Get hash of user password

Returns:

setPasswordHash

public Account setPasswordHash(byte[] passwordHash)
Set hash of user password

Parameters:
passwordHash -

getNewPasswordHash

public byte[] getNewPasswordHash()
Get hash of new user password. If new password set, the user can be authenticated using either common password or this new password

Returns:

setNewPasswordHash

public Account setNewPasswordHash(byte[] newPasswordHash)
Set hash of new user password. If new password set, the user can be authenticated using either common password or this new password

Parameters:
newPasswordHash -

getPasswordIsapMd5

public byte[] getPasswordIsapMd5()
Returns:

setPasswordIsapMd5

public Account setPasswordIsapMd5(byte[] passwordIsapMd5)
Parameters:
passwordIsapMd5 -

getPassphraseHash

public String getPassphraseHash()
Returns:

setPassphraseHash

public Account setPassphraseHash(String passphraseHash)
Parameters:
passphraseHash -

getPasswordResetCode

public String getPasswordResetCode()
Returns:

setPasswordResetCode

public Account setPasswordResetCode(String passwordResetCode)
Parameters:
passwordResetCode -

getResetCodeDate

public Date getResetCodeDate()
Returns:

setResetCodeDate

public Account setResetCodeDate(Date resetCodeDate)
Parameters:
resetCodeDate -

getPrivateUserINumber

public String getPrivateUserINumber()
Returns:

setPrivateUserINumber

public Account setPrivateUserINumber(String privateUserINumber)
Parameters:
privateUserINumber -