public class PasswordCredential extends Object
Use for SOAP only. Class exists strictly to maintain Crowd 2.0.x compatibility.
Modifier and Type | Field and Description |
---|---|
protected String |
credential |
static PasswordCredential |
NONE |
Constructor and Description |
---|
PasswordCredential()
Deprecated.
since 1.3.2, please use any other PasswordCredential constructor. If this constructor is used,
please be aware that you must call
setEncryptedCredential(boolean) . |
PasswordCredential(String credential,
boolean encryptedCredential)
It is highly recommended that you use the
encrypted(String) or unencrypted(String) factory
methods for clarity instead. |
Modifier and Type | Method and Description |
---|---|
static PasswordCredential |
encrypted(String encryptedCredential) |
boolean |
equals(Object o) |
String |
getCredential()
Gets the password credential.
|
int |
hashCode() |
boolean |
isEncryptedCredential() |
void |
setCredential(String credential)
Sets the password credential.
|
void |
setEncryptedCredential(boolean encryptedCredential) |
String |
toString() |
static PasswordCredential |
unencrypted(String unencryptedCredential) |
public static final PasswordCredential NONE
protected String credential
@Deprecated public PasswordCredential()
setEncryptedCredential(boolean)
.public PasswordCredential(String credential, boolean encryptedCredential)
encrypted(String)
or unencrypted(String)
factory
methods for clarity instead.public static PasswordCredential encrypted(String encryptedCredential)
public static PasswordCredential unencrypted(String unencryptedCredential)
public String getCredential()
public void setCredential(String credential)
credential
- The credential.public boolean isEncryptedCredential()
public void setEncryptedCredential(boolean encryptedCredential)
Copyright © 2021 Atlassian. All rights reserved.