public class AMCallbackHandler extends Object implements CallbackHandler
| Constructor and Description |
|---|
AMCallbackHandler() |
AMCallbackHandler(String prompt) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the password so that sensitive data is no longer present
in memory.
|
protected void |
finalize()
The finalizer clears the sensitive information before releasing
it to the garbage collector, but it should have been cleared manually
before this point anyway.
|
void |
handle(Callback[] callbacks) |
void |
setPassword(String pw)
Set password for key store
|
public AMCallbackHandler()
public AMCallbackHandler(String prompt)
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle in interface CallbackHandlerUnsupportedCallbackExceptionpublic void clear()
protected void finalize()
throws Throwable
public void setPassword(String pw)
pw - Value of string to be setCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.