AbstractClearableCredential
contains behavior common to
Credential
implementations that can be meaningfully
cleared.
Modifier and Type | Field and Description |
---|---|
private volatile boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public final void | clear()
Overrides default jakarta. |
protected abstract void | |
public final boolean | isCleared()
Overrides default jakarta. |
protected final void |
cleared | back to summary |
---|---|
private volatile boolean cleared |
AbstractClearableCredential | back to summary |
---|---|
public AbstractClearableCredential() |
clear | back to summary |
---|---|
public final void clear() Overrides default jakarta. Doc from jakarta. Clears the credential. For example, if the credential includes a password, this method would overwrite the password value.
|
clearCredential | back to summary |
---|---|
protected abstract void clearCredential() Invokes the specific subclass to securely clear the credential value.
Some For example, if the credential includes a password, this method would overwrite the password value. |
isCleared | back to summary |
---|---|
public final boolean isCleared() Overrides default jakarta. Doc from jakarta. Determines whether the credential value has been securely cleared.
|
setCleared | back to summary |
---|---|
protected final void setCleared() Specifies that the credential value has been securely cleared. |