org.apache.james.user.jpa.model
Class JPAUser

java.lang.Object
  extended by org.apache.james.user.jpa.model.JPAUser
All Implemented Interfaces:
User

@Entity(name="JamesUser")
public class JPAUser
extends Object
implements User


Constructor Summary
protected JPAUser()
           
  JPAUser(String userName, String password, String alg)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getUserName()
           
 int hashCode()
           
 boolean setPassword(String newPass)
           
 String toString()
           
 boolean verifyPassword(String pass)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JPAUser

protected JPAUser()

JPAUser

public JPAUser(String userName,
               String password,
               String alg)
Method Detail

getUserName

public String getUserName()
Specified by:
getUserName in interface User
See Also:
User.getUserName()

setPassword

public boolean setPassword(String newPass)
Specified by:
setPassword in interface User
See Also:
User.setPassword(java.lang.String)

verifyPassword

public boolean verifyPassword(String pass)
Specified by:
verifyPassword in interface User
See Also:
User.verifyPassword(java.lang.String)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.