public class ValidatedPasswordCallback extends AbstractValidatedCallback
AbstractValidatedCallback.FailedPolicy_id, content, VALUE| Constructor and Description |
|---|
ValidatedPasswordCallback() |
ValidatedPasswordCallback(org.json.JSONObject raw,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrompt() |
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
boolean |
isEchoOn()
Return whether the password
should be displayed as it is being typed.
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setPassword(char[] password)
Set the retrieved password.
|
getFailedPolicies, getPolicies, getValidateOnly, setValidateOnlyget_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic ValidatedPasswordCallback(org.json.JSONObject raw,
int index)
throws org.json.JSONException
org.json.JSONExceptionpublic ValidatedPasswordCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AbstractValidatedCallbackpublic void setPassword(char[] password)
password - the retrieved password, which may be null.public java.lang.String getType()
Callbackpublic boolean isEchoOn()
public java.lang.String getPrompt()
getPrompt in class AbstractValidatedCallback