| Access | Constructor and Description |
|---|---|
| public |
| 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 static void | |
| 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
|
| netrc | back to summary |
|---|---|
| pack-priv NetRC netrc | |
| NetRCCredentialsProvider | back to summary |
|---|---|
| public NetRCCredentialsProvider() Constructor for NetRCCredentialsProvider. | |
| 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.
| |
| install | back to summary |
|---|---|
| public static void install() Install default provider for the .netrc parser. | |
| 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
| |