public enum NullListener extends java.lang.Enum<NullListener> implements ACLookupListener, ValidationResultListener, VOMSServerInfoStoreListener, LoadCredentialsEventListener, VOMSTrustStoreStatusListener, java.lang.Thread.UncaughtExceptionHandler, VOMSRequestListener, VOMSProtocolListener
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyACLookupEvent(java.security.cert.X509Certificate[] chain,
int chainLevel)
Informs that an AC is being looked for in the cert chain passed as
argument.
|
void |
notifyACParseEvent(java.security.cert.X509Certificate[] chain,
int chainLevel)
Informs that an AC has been succesfully parsed from the cert chain passed
as argument
|
void |
notifyCertficateLookupEvent(java.lang.String dir)
Informs that certificates are being looked for in the directory passed as
argument
|
void |
notifyCertificateLoadEvent(java.security.cert.X509Certificate cert,
java.io.File f)
Informs that a VOMS AA certificate has been loaded in the store
|
void |
notifyCredentialLookup(java.lang.String... locations)
Informs that credentials are been looked for in the locations passed as
argument.
|
void |
notifyErrorsInVOMSReponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSErrorMessage[] errors)
Informs that errors were included in the VOMS response produced by a VOMS
server
|
void |
notifyHTTPRequest(java.lang.String url)
Informs that a VOMS HTTP GET request is being issued for the URL passed as
argument
|
void |
notifyLegacyRequest(java.lang.String xmlLegacyRequest)
Informs that a VOMS legacy request is being issued
|
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 |
notifyLSCLoadEvent(LSCInfo lsc,
java.io.File f)
Informs that VOMS LSC information has been loaded in the store
|
void |
notifyLSCLookupEvent(java.lang.String dir)
Informs that VOMS LSC file information is being looked for in the directory
passed as argument.
|
void |
notifyNoValidVOMSESError(java.util.List<java.lang.String> searchedPaths)
Informs that no valid VOMS information was found on the system.
|
void |
notifyReceivedResponse(VOMSResponse r)
Informs that a VOMSResponse was received from a remote VOMS server
|
void |
notifyTrustStoreUpdate(VOMSTrustStore store) |
void |
notifyValidationResult(VOMSValidationResult result)
Informs of the result of the validation of a set of
VOMSAttribute |
void |
notifyVOMSESInformationLoaded(java.lang.String vomsesPath,
VOMSServerInfo info)
Informs that VOMSES information was succesfully loaded from a given path
|
void |
notifyVOMSESlookup(java.lang.String vomsesPath)
Informs that VOMSES is being search at the path passed as argument
|
void |
notifyVOMSRequestFailure(VOMSACRequest request,
VOMSServerInfo endpoint,
java.lang.Throwable error)
Informs of a VOMS request failure
|
void |
notifyVOMSRequestStart(VOMSACRequest request,
VOMSServerInfo si)
Informs of the start of a request to a VOMS server
|
void |
notifyVOMSRequestSuccess(VOMSACRequest request,
VOMSServerInfo endpoint)
Informs of the succesfull conclusion of a request to a VOMS server
|
void |
notifyWarningsInVOMSResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSWarningMessage[] warnings)
Informs that warnings were included in the VOMS response produced by a VOMS
server
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e) |
static NullListener |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullListener[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullListener INSTANCE
public static NullListener[] values()
for (NullListener c : NullListener.values()) System.out.println(c);
public static NullListener valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void notifyVOMSRequestStart(VOMSACRequest request, VOMSServerInfo si)
VOMSRequestListenernotifyVOMSRequestStart in interface VOMSRequestListenerrequest - the requestsi - the VOMS server endpoint informationpublic void notifyVOMSRequestSuccess(VOMSACRequest request, VOMSServerInfo endpoint)
VOMSRequestListenernotifyVOMSRequestSuccess in interface VOMSRequestListenerrequest - the requestendpoint - the VOMS server endpoint informationpublic void notifyVOMSRequestFailure(VOMSACRequest request, VOMSServerInfo endpoint, java.lang.Throwable error)
VOMSRequestListenernotifyVOMSRequestFailure in interface VOMSRequestListenerrequest - the requestendpoint - the VOMS server endpoint informationerror - the error related with the failurepublic void notifyErrorsInVOMSReponse(VOMSACRequest request, VOMSServerInfo si, VOMSErrorMessage[] errors)
VOMSRequestListenernotifyErrorsInVOMSReponse in interface VOMSRequestListenerrequest - the request related to the received responsesi - the VOMS server endpoint informationerrors - the error messages included in the responsepublic void notifyWarningsInVOMSResponse(VOMSACRequest request, VOMSServerInfo si, VOMSWarningMessage[] warnings)
VOMSRequestListenernotifyWarningsInVOMSResponse in interface VOMSRequestListenerrequest - the request related to the received responsesi - the VOMS server endpoint informationwarnings - the warning messages included in the responsepublic void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandlerpublic void notifyTrustStoreUpdate(VOMSTrustStore store)
public void notifyCertficateLookupEvent(java.lang.String dir)
VOMSTrustStoreStatusListenernotifyCertficateLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked forpublic void notifyLSCLookupEvent(java.lang.String dir)
VOMSTrustStoreStatusListenernotifyLSCLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked forpublic void notifyCertificateLoadEvent(java.security.cert.X509Certificate cert,
java.io.File f)
VOMSTrustStoreStatusListenernotifyCertificateLoadEvent in interface VOMSTrustStoreStatusListenercert - the VOMS AA certificate loadedf - the file from which the certificate has been loadedpublic void notifyLSCLoadEvent(LSCInfo lsc, java.io.File f)
VOMSTrustStoreStatusListenernotifyLSCLoadEvent in interface VOMSTrustStoreStatusListenerlsc - the loaded VOMS LSC informationf - the file from which the LSC information has been loadedpublic void notifyCredentialLookup(java.lang.String... locations)
LoadCredentialsEventListenernotifyCredentialLookup in interface LoadCredentialsEventListenerlocations - the locations (as strings) where the credentials
are being searchedpublic void notifyLoadCredentialSuccess(java.lang.String... locations)
LoadCredentialsEventListenernotifyLoadCredentialSuccess in interface LoadCredentialsEventListenerlocations - the locations (as strings) where the credentials
are being searchedpublic void notifyLoadCredentialFailure(java.lang.Throwable error,
java.lang.String... locations)
LoadCredentialsEventListenernotifyLoadCredentialFailure in interface LoadCredentialsEventListenererror - the Throwable that caused the credential load operation to
faillocations - the locations where the credentials where loaded frompublic void notifyNoValidVOMSESError(java.util.List<java.lang.String> searchedPaths)
VOMSServerInfoStoreListenernotifyNoValidVOMSESError in interface VOMSServerInfoStoreListenersearchedPaths - the list of searched pathspublic void notifyVOMSESlookup(java.lang.String vomsesPath)
VOMSServerInfoStoreListenernotifyVOMSESlookup in interface VOMSServerInfoStoreListenervomsesPath - the path where VOMSES information are being looked forpublic void notifyVOMSESInformationLoaded(java.lang.String vomsesPath,
VOMSServerInfo info)
VOMSServerInfoStoreListenernotifyVOMSESInformationLoaded in interface VOMSServerInfoStoreListenervomsesPath - the path where VOMSES information was loaded frominfo - the VOMSServerInfo voms endpoint informationpublic void notifyValidationResult(VOMSValidationResult result)
ValidationResultListenerVOMSAttributenotifyValidationResult in interface ValidationResultListenerresult - the validation resultpublic void notifyACLookupEvent(java.security.cert.X509Certificate[] chain,
int chainLevel)
ACLookupListenernotifyACLookupEvent in interface ACLookupListenerchain - the chain where the AC is looked forchainLevel - the level in the chain where the AC is being looked forpublic void notifyACParseEvent(java.security.cert.X509Certificate[] chain,
int chainLevel)
ACLookupListenernotifyACParseEvent in interface ACLookupListenerchain - the chain from which the AC has been parsedchainLevel - the level in the chain where the AC has been parsedpublic void notifyHTTPRequest(java.lang.String url)
VOMSProtocolListenernotifyHTTPRequest in interface VOMSProtocolListenerurl - the request urlpublic void notifyLegacyRequest(java.lang.String xmlLegacyRequest)
VOMSProtocolListenernotifyLegacyRequest in interface VOMSProtocolListenerxmlLegacyRequest - a string representation of the XML legacy requestpublic void notifyReceivedResponse(VOMSResponse r)
VOMSProtocolListenernotifyReceivedResponse in interface VOMSProtocolListenerr - the received VOMSResponse