|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.embedded.api.PasswordCredential
public class PasswordCredential
Password based authentication information.
Field Summary | |
---|---|
protected java.lang.String |
credential
|
static PasswordCredential |
NONE
|
Constructor Summary | |
---|---|
PasswordCredential()
Deprecated. since 1.3.2, please use any other PasswordCredential constructor, this constructor should only be used by hibernate. If this constructor is used, please be aware that you must set setEncryptedCredential(boolean) |
|
PasswordCredential(PasswordCredential passwordCredential)
|
|
PasswordCredential(java.lang.String unencryptedCredential)
Constructor that takes an unencrypted credential. |
|
PasswordCredential(java.lang.String credential,
boolean encryptedCredential)
|
Method Summary | |
---|---|
static PasswordCredential |
encrypted(java.lang.String encryptedCredential)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCredential()
Gets the password credential. |
int |
hashCode()
|
boolean |
isEncryptedCredential()
|
void |
setCredential(java.lang.String credential)
Sets the password credential. |
void |
setEncryptedCredential(boolean encryptedCredential)
|
java.lang.String |
toString()
|
static PasswordCredential |
unencrypted(java.lang.String unencryptedCredential)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PasswordCredential NONE
protected java.lang.String credential
Constructor Detail |
---|
public PasswordCredential()
setEncryptedCredential(boolean)
public PasswordCredential(PasswordCredential passwordCredential)
public PasswordCredential(java.lang.String unencryptedCredential)
encryptedCredential
is false.
unencryptedCredential
- the unencrypted password credentialpublic PasswordCredential(java.lang.String credential, boolean encryptedCredential)
Method Detail |
---|
public static PasswordCredential encrypted(java.lang.String encryptedCredential)
public static PasswordCredential unencrypted(java.lang.String unencryptedCredential)
public java.lang.String getCredential()
public void setCredential(java.lang.String credential)
credential
- The credential.public boolean isEncryptedCredential()
public void setEncryptedCredential(boolean encryptedCredential)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |