public class EmptyPassword extends Object implements Password
SINGLETONPassword.Clear| Modifier and Type | Field and Description |
|---|---|
static EmptyPassword |
SINGLETON
The singleton empty password
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
The empty password can't be invalidated :
this method does nothing.
|
Password.Clear |
getClearCopy()
Wrap this password in a clear copy.
|
boolean |
isDestroyed()
Return false.
|
PasswordState |
state()
Return
Empty |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewPasswordpublic static final EmptyPassword SINGLETON
public void destroy()
destroy in interface Destroyabledestroy in interface Passwordpublic boolean isDestroyed()
isDestroyed in interface DestroyableisDestroyed in interface Passwordfalsepublic PasswordState state()
Emptypublic Password.Clear getClearCopy()
PasswordgetClearCopy in interface PasswordCopyright © 2018 Alternet. All rights reserved.