CredentialsProvider.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private CredentialsProvider | |
| private static final Logger | |
| private KeyPasswordProvider | |
| private final URIish |
| Access | Constructor and Description |
|---|---|
| public | SecurityCallback(URIish
URIish identifying the item the interaction is aboutCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public void | handle(Callback[]
an array of callbacks)Callback objects provided
by an underlying security service which contains
the information requested to be retrieved or displayed.Implements javax. Retrieve or display the information requested in the provided Callbacks. |
| private void | |
| public int | Returns: the number of PIN prompts to try to log-in to the tokenSessionContext of the keystore accessInitializes this |
| public boolean | Returns: whether to try once morean error)Exception that may have occurred, or null
on successTells this |
| attempts | back to summary |
|---|---|
| private int attempts | |
| credentialsProvider | back to summary |
|---|---|
| private CredentialsProvider credentialsProvider | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| passwordProvider | back to summary |
|---|---|
| private KeyPasswordProvider passwordProvider | |
| uri | back to summary |
|---|---|
| private final URIish uri | |
| SecurityCallback | back to summary |
|---|---|
| public SecurityCallback(URIish uri) Creates a new | |
| getText | back to summary |
|---|---|
| private String getText(int messageType, String text) | |
| handle | back to summary |
|---|---|
| public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException Implements javax. Doc from javax. Retrieve or display the information requested in the provided Callbacks. The
| |
| handleGeneral | back to summary |
|---|---|
| private void handleGeneral(Callback[] callbacks) throws UnsupportedCallbackException | |
| init | back to summary |
|---|---|
| public int init(SessionContext session) Initializes this
| |
| passwordTried | back to summary |
|---|---|
| public boolean passwordTried(Exception error) throws IOException, GeneralSecurityException Tells this
| |