com.atlassian.crowd.model.user
Class InternalUserCredentialRecord

java.lang.Object
  extended by com.atlassian.crowd.model.user.InternalUserCredentialRecord
All Implemented Interfaces:
Serializable

public class InternalUserCredentialRecord
extends Object
implements Serializable

Encapsulates the concept of user credential record.

See Also:
Serialized Form

Constructor Summary
protected InternalUserCredentialRecord()
           
  InternalUserCredentialRecord(InternalUser user, String passwordHash)
           
  InternalUserCredentialRecord(Long id, InternalUser user, String passwordHash)
          Only use this constructor for cloning / importing when the id is known.
 
Method Summary
 boolean equals(Object o)
           
 PasswordCredential getCredential()
           
 Long getId()
           
 String getPasswordHash()
           
 InternalUser getUser()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalUserCredentialRecord

protected InternalUserCredentialRecord()

InternalUserCredentialRecord

public InternalUserCredentialRecord(Long id,
                                    InternalUser user,
                                    String passwordHash)
Only use this constructor for cloning / importing when the id is known.

Parameters:
id - id of the object.
user - user reference.
passwordHash - String password hash.

InternalUserCredentialRecord

public InternalUserCredentialRecord(InternalUser user,
                                    String passwordHash)
Method Detail

getId

public Long getId()

getUser

public InternalUser getUser()

getPasswordHash

public String getPasswordHash()

getCredential

public PasswordCredential getCredential()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Atlassian. All Rights Reserved.