Package org.italiangrid.voms.credential
Interface LoadCredentialsEventListener
-
- All Known Implementing Classes:
NullListener
public interface LoadCredentialsEventListener
ALoadCredentialsEventListener
is notified of the outcome of load credentials operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
notifyCredentialLookup
void notifyCredentialLookup(java.lang.String... locations)
Informs that credentials are been looked for in the locations passed as argument.- Parameters:
locations
- the locations (as strings) where the credentials are being searched
-
notifyLoadCredentialSuccess
void notifyLoadCredentialSuccess(java.lang.String... locations)
Informs that credentials have been succesfully loaded from the credentials passed as argument.- Parameters:
locations
- the locations (as strings) where the credentials are being searched
-
notifyLoadCredentialFailure
void notifyLoadCredentialFailure(java.lang.Throwable error, java.lang.String... locations)
Informs that credentials could not be loaded form the locations passed as argument.- Parameters:
error
- theThrowable
that caused the credential load operation to faillocations
- the locations where the credentials where loaded from
-
-