public abstract class Credential extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Credential.CredentialType
Credential types supported.
|
Modifier and Type | Field and Description |
---|---|
protected static oracle.fmwplatform.util.logging.PlatformLogger |
logger |
Modifier | Constructor and Description |
---|---|
protected |
Credential() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowNullPassword()
Determine if null password is allowed by this credential type.
|
boolean |
equals(Object obj) |
String |
getAlias() |
String |
getCoveredPassword(char[] psw)
Return a string of password cover characters the length of the
actual password.
|
char[] |
getPassword() |
String |
getSecretCover() |
Credential.CredentialType |
getType() |
abstract String |
getUsername() |
int |
hashCode() |
boolean |
isPassphraseCredential() |
boolean |
isSshKeyCredential()
Determine if this credential is a SSH Key credential.
|
boolean |
isUserCredential() |
void |
setAlias(String alias) |
void |
setPassword(char[] password) |
void |
setSecretCover(String cover) |
abstract void |
setUsername(String userName) |
String |
toString() |
public String getAlias()
public char[] getPassword()
public abstract String getUsername()
public void setAlias(String alias) throws FMWCredentialsException
FMWCredentialsException
public void setPassword(char[] password) throws FMWCredentialsException
FMWCredentialsException
public abstract void setUsername(String userName) throws FMWCredentialsException
FMWCredentialsException
public Credential.CredentialType getType()
public boolean isPassphraseCredential()
public boolean isUserCredential()
public boolean isSshKeyCredential()
public String getSecretCover()
public void setSecretCover(String cover)
public String getCoveredPassword(char[] psw)
protected boolean allowNullPassword()