public interface LoadCredentialsEventListener
LoadCredentialsEventListener
is notified of the outcome of load
credentials operations.Modifier and Type | Method and Description |
---|---|
void |
notifyCredentialLookup(java.lang.String... locations)
Informs that credentials are been looked for in the locations passed as
argument.
|
void |
notifyLoadCredentialFailure(java.lang.Throwable error,
java.lang.String... locations)
Informs that credentials could not be loaded form the locations passed as
argument.
|
void |
notifyLoadCredentialSuccess(java.lang.String... locations)
Informs that credentials have been succesfully loaded from the credentials
passed as argument.
|
void notifyCredentialLookup(java.lang.String... locations)
locations
- the locations (as strings) where the credentials
are being searchedvoid notifyLoadCredentialSuccess(java.lang.String... locations)
locations
- the locations (as strings) where the credentials
are being searchedvoid notifyLoadCredentialFailure(java.lang.Throwable error, java.lang.String... locations)
error
- the Throwable
that caused the credential load operation to
faillocations
- the locations where the credentials where loaded from