org.codehaus.plexus.security.user.jdo.v0_9_0
Class JdoUser

java.lang.Object
  extended by org.codehaus.plexus.security.user.jdo.v0_9_0.JdoUser
All Implemented Interfaces:
Serializable, org.codehaus.plexus.security.user.User

public class JdoUser
extends Object
implements org.codehaus.plexus.security.user.User, Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.codehaus.plexus.security.user.User
ROLE
 
Constructor Summary
JdoUser()
           
 
Method Summary
 void addPreviousEncodedPassword(String string)
          Method addPreviousEncodedPassword.
 boolean equals(Object other)
          Method equals.
 Date getAccountCreationDate()
          Get the accountCreationDate field.
 int getCountFailedLoginAttempts()
          Get the countFailedLoginAttempts field.
 String getEmail()
          Get the email field.
 String getEncodedPassword()
          Get the encodedPassword field.
 String getFullName()
          Get the fullName field.
 Date getLastLoginDate()
          Get the lastLoginDate field.
 Date getLastPasswordChange()
          Get the lastPasswordChange field.
 String getPassword()
          Get the password field.
 List getPreviousEncodedPasswords()
          Method getPreviousEncodedPasswords.
 Object getPrincipal()
           
 String getUsername()
          Get the username field.
 int hashCode()
          Method hashCode.
 boolean isLocked()
          Get the locked field.
 boolean isPasswordChangeRequired()
          Get the passwordChangeRequired field.
 boolean isPermanent()
          Get the permanent field.
 boolean isValidated()
          Get the validated field.
 void removePreviousEncodedPassword(String string)
          Method removePreviousEncodedPassword.
 void setAccountCreationDate(Date accountCreationDate)
          Set the accountCreationDate field.
 void setCountFailedLoginAttempts(int countFailedLoginAttempts)
          Set the countFailedLoginAttempts field.
 void setEmail(String email)
          Set the email field.
 void setEncodedPassword(String encodedPassword)
          Set the encodedPassword field.
 void setFullName(String fullName)
          Set the fullName field.
 void setLastLoginDate(Date lastLoginDate)
          Set the lastLoginDate field.
 void setLastPasswordChange(Date lastPasswordChange)
          Set the lastPasswordChange field.
 void setLocked(boolean locked)
          Set the locked field.
 void setPassword(String password)
          Set the password field.
 void setPasswordChangeRequired(boolean passwordChangeRequired)
          Set the passwordChangeRequired field.
 void setPermanent(boolean permanent)
          Set the permanent field.
 void setPreviousEncodedPasswords(List previousEncodedPasswords)
          Set the previousEncodedPasswords field.
 void setUsername(String username)
          Set the username field.
 void setValidated(boolean validated)
          Set the validated field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdoUser

public JdoUser()
Method Detail

addPreviousEncodedPassword

public void addPreviousEncodedPassword(String string)
Method addPreviousEncodedPassword.

Specified by:
addPreviousEncodedPassword in interface org.codehaus.plexus.security.user.User
Parameters:
string -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getAccountCreationDate

public Date getAccountCreationDate()
Get the accountCreationDate field.

Specified by:
getAccountCreationDate in interface org.codehaus.plexus.security.user.User
Returns:
Date

getCountFailedLoginAttempts

public int getCountFailedLoginAttempts()
Get the countFailedLoginAttempts field.

Specified by:
getCountFailedLoginAttempts in interface org.codehaus.plexus.security.user.User
Returns:
int

getEmail

public String getEmail()
Get the email field.

Specified by:
getEmail in interface org.codehaus.plexus.security.user.User
Returns:
String

getEncodedPassword

public String getEncodedPassword()
Get the encodedPassword field.

Specified by:
getEncodedPassword in interface org.codehaus.plexus.security.user.User
Returns:
String

getFullName

public String getFullName()
Get the fullName field.

Specified by:
getFullName in interface org.codehaus.plexus.security.user.User
Returns:
String

getLastLoginDate

public Date getLastLoginDate()
Get the lastLoginDate field.

Specified by:
getLastLoginDate in interface org.codehaus.plexus.security.user.User
Returns:
Date

getLastPasswordChange

public Date getLastPasswordChange()
Get the lastPasswordChange field.

Specified by:
getLastPasswordChange in interface org.codehaus.plexus.security.user.User
Returns:
Date

getPassword

public String getPassword()
Get the password field.

Specified by:
getPassword in interface org.codehaus.plexus.security.user.User
Returns:
String

getPreviousEncodedPasswords

public List getPreviousEncodedPasswords()
Method getPreviousEncodedPasswords.

Specified by:
getPreviousEncodedPasswords in interface org.codehaus.plexus.security.user.User
Returns:
List

getUsername

public String getUsername()
Get the username field.

Specified by:
getUsername in interface org.codehaus.plexus.security.user.User
Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isLocked

public boolean isLocked()
Get the locked field.

Specified by:
isLocked in interface org.codehaus.plexus.security.user.User
Returns:
boolean

isPasswordChangeRequired

public boolean isPasswordChangeRequired()
Get the passwordChangeRequired field.

Specified by:
isPasswordChangeRequired in interface org.codehaus.plexus.security.user.User
Returns:
boolean

isPermanent

public boolean isPermanent()
Get the permanent field.

Specified by:
isPermanent in interface org.codehaus.plexus.security.user.User
Returns:
boolean

isValidated

public boolean isValidated()
Get the validated field.

Specified by:
isValidated in interface org.codehaus.plexus.security.user.User
Returns:
boolean

removePreviousEncodedPassword

public void removePreviousEncodedPassword(String string)
Method removePreviousEncodedPassword.

Parameters:
string -

setAccountCreationDate

public void setAccountCreationDate(Date accountCreationDate)
Set the accountCreationDate field.

Parameters:
accountCreationDate -

setCountFailedLoginAttempts

public void setCountFailedLoginAttempts(int countFailedLoginAttempts)
Set the countFailedLoginAttempts field.

Specified by:
setCountFailedLoginAttempts in interface org.codehaus.plexus.security.user.User
Parameters:
countFailedLoginAttempts -

setEmail

public void setEmail(String email)
Set the email field.

Specified by:
setEmail in interface org.codehaus.plexus.security.user.User
Parameters:
email -

setEncodedPassword

public void setEncodedPassword(String encodedPassword)
Set the encodedPassword field.

Specified by:
setEncodedPassword in interface org.codehaus.plexus.security.user.User
Parameters:
encodedPassword -

setFullName

public void setFullName(String fullName)
Set the fullName field.

Specified by:
setFullName in interface org.codehaus.plexus.security.user.User
Parameters:
fullName -

setLastLoginDate

public void setLastLoginDate(Date lastLoginDate)
Set the lastLoginDate field.

Specified by:
setLastLoginDate in interface org.codehaus.plexus.security.user.User
Parameters:
lastLoginDate -

setLastPasswordChange

public void setLastPasswordChange(Date lastPasswordChange)
Set the lastPasswordChange field.

Specified by:
setLastPasswordChange in interface org.codehaus.plexus.security.user.User
Parameters:
lastPasswordChange -

setLocked

public void setLocked(boolean locked)
Set the locked field.

Specified by:
setLocked in interface org.codehaus.plexus.security.user.User
Parameters:
locked -

setPassword

public void setPassword(String password)
Set the password field.

Specified by:
setPassword in interface org.codehaus.plexus.security.user.User
Parameters:
password -

setPasswordChangeRequired

public void setPasswordChangeRequired(boolean passwordChangeRequired)
Set the passwordChangeRequired field.

Specified by:
setPasswordChangeRequired in interface org.codehaus.plexus.security.user.User
Parameters:
passwordChangeRequired -

setPermanent

public void setPermanent(boolean permanent)
Set the permanent field.

Specified by:
setPermanent in interface org.codehaus.plexus.security.user.User
Parameters:
permanent -

setPreviousEncodedPasswords

public void setPreviousEncodedPasswords(List previousEncodedPasswords)
Set the previousEncodedPasswords field.

Specified by:
setPreviousEncodedPasswords in interface org.codehaus.plexus.security.user.User
Parameters:
previousEncodedPasswords -

setUsername

public void setUsername(String username)
Set the username field.

Specified by:
setUsername in interface org.codehaus.plexus.security.user.User
Parameters:
username -

setValidated

public void setValidated(boolean validated)
Set the validated field.

Specified by:
setValidated in interface org.codehaus.plexus.security.user.User
Parameters:
validated -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String

getPrincipal

public Object getPrincipal()
Specified by:
getPrincipal in interface org.codehaus.plexus.security.user.User


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.