Package org.italiangrid.voms.credential
Interface LoadCredentialsEventListener
-
- All Known Implementing Classes:
NullListener
public interface LoadCredentialsEventListenerALoadCredentialsEventListeneris notified of the outcome of load credentials operations.- Author:
- andreaceccanti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyCredentialLookup(java.lang.String... locations)Informs that credentials are been looked for in the locations passed as argument.voidnotifyLoadCredentialFailure(java.lang.Throwable error, java.lang.String... locations)Informs that credentials could not be loaded form the locations passed as argument.voidnotifyLoadCredentialSuccess(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- theThrowablethat caused the credential load operation to faillocations- the locations where the credentials where loaded from
-
-