| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| public | ChainingCredentialsProvider(CredentialsProvider...
credential providers asked for credentials in the order given
here providers)Create a new chaining credential provider. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | get(URIish
the URI of the remote resource that needs authentication. uri, CredentialItem... the items the application requires to complete authentication. items)Implements abstract org. Ask for the credential items to be populated. |
| public boolean | isInteractive()
Implements abstract org. Check if the provider is interactive with the end-user. |
| public boolean | supports(CredentialItem...
the items the application requires to complete authentication. items)Implements abstract org. Check if the provider can supply the necessary
|
| credentialProviders | back to summary |
|---|---|
| private List<CredentialsProvider> credentialProviders | |
| ChainingCredentialsProvider | back to summary |
|---|---|
| public ChainingCredentialsProvider(CredentialsProvider... providers) Create a new chaining credential provider. This provider tries to retrieve credentials from the chained credential providers in the order they are given here. If multiple providers support the requested items and have non-null credentials the first of them will be used.
| |
| get | back to summary |
|---|---|
| public boolean get(URIish uri, CredentialItem... items) throws UnsupportedCredentialItem Implements abstract org. Doc from org. Ask for the credential items to be populated. Populates the credential items with the credentials provided by the first credential provider in the list which populates them with non-null values
| |
| isInteractive | back to summary |
|---|---|
| public boolean isInteractive() Implements abstract org. Doc from org. Check if the provider is interactive with the end-user. An interactive provider may try to open a dialog box, or prompt for input on the terminal, and will wait for a user response. A non-interactive provider will either populate CredentialItems, or fail.
| |
| supports | back to summary |
|---|---|
| public boolean supports(CredentialItem... items) Implements abstract org. Doc from org. Check if the provider can supply the necessary
| |