public enum NullListener extends Enum<NullListener> implements ACLookupListener, ValidationResultListener, VOMSServerInfoStoreListener, LoadCredentialsEventListener, VOMSTrustStoreStatusListener, Thread.UncaughtExceptionHandler, VOMSRequestListener, VOMSProtocolListener
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyACLookupEvent(X509Certificate[] chain,
int chainLevel)
Informs that an AC is being looked for in the cert chain passed as
argument.
|
void |
notifyACParseEvent(X509Certificate[] chain,
int chainLevel)
Informs that an AC has been succesfully parsed from the cert chain passed
as argument
|
void |
notifyCertficateLookupEvent(String dir)
Informs that certificates are being looked for in the directory passed as
argument
|
void |
notifyCertificateLoadEvent(X509Certificate cert,
File f)
Informs that a VOMS AA certificate has been loaded in the store
|
void |
notifyCredentialLookup(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(String url)
Informs that a VOMS HTTP GET request is being issued for the URL passed as
argument
|
void |
notifyLegacyRequest(String xmlLegacyRequest)
Informs that a VOMS legacy request is being issued
|
void |
notifyLoadCredentialFailure(Throwable error,
String... locations)
Informs that credentials could not be loaded form the locations passed as
argument.
|
void |
notifyLoadCredentialSuccess(String... locations)
Informs that credentials have been succesfully loaded from the credentials
passed as argument.
|
void |
notifyLSCLoadEvent(LSCInfo lsc,
File f)
Informs that VOMS LSC information has been loaded in the store
|
void |
notifyLSCLookupEvent(String dir)
Informs that VOMS LSC file information is being looked for in the directory
passed as argument.
|
void |
notifyNoValidVOMSESError(List<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(String vomsesPath,
VOMSServerInfo info)
Informs that VOMSES information was succesfully loaded from a given path
|
void |
notifyVOMSESlookup(String vomsesPath)
Informs that VOMSES is being search at the path passed as argument
|
void |
notifyVOMSRequestFailure(VOMSACRequest request,
VOMSServerInfo endpoint,
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(Thread t,
Throwable e) |
static NullListener |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - 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, 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(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic void notifyTrustStoreUpdate(VOMSTrustStore store)
public void notifyCertficateLookupEvent(String dir)
VOMSTrustStoreStatusListenernotifyCertficateLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked forpublic void notifyLSCLookupEvent(String dir)
VOMSTrustStoreStatusListenernotifyLSCLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked forpublic void notifyCertificateLoadEvent(X509Certificate cert, File f)
VOMSTrustStoreStatusListenernotifyCertificateLoadEvent in interface VOMSTrustStoreStatusListenercert - the VOMS AA certificate loadedf - the file from which the certificate has been loadedpublic void notifyLSCLoadEvent(LSCInfo lsc, File f)
VOMSTrustStoreStatusListenernotifyLSCLoadEvent in interface VOMSTrustStoreStatusListenerlsc - the loaded VOMS LSC informationf - the file from which the LSC information has been loadedpublic void notifyCredentialLookup(String... locations)
LoadCredentialsEventListenernotifyCredentialLookup in interface LoadCredentialsEventListenerpublic void notifyLoadCredentialSuccess(String... locations)
LoadCredentialsEventListenernotifyLoadCredentialSuccess in interface LoadCredentialsEventListenerpublic void notifyLoadCredentialFailure(Throwable error, 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(List<String> searchedPaths)
VOMSServerInfoStoreListenernotifyNoValidVOMSESError in interface VOMSServerInfoStoreListenersearchedPaths - the list of searched pathspublic void notifyVOMSESlookup(String vomsesPath)
VOMSServerInfoStoreListenernotifyVOMSESlookup in interface VOMSServerInfoStoreListenervomsesPath - the path where VOMSES information are being looked forpublic void notifyVOMSESInformationLoaded(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)
ValidationResultListenerVOMSAttribute.notifyValidationResult in interface ValidationResultListenerresult - the validation resultpublic void notifyACLookupEvent(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(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(String url)
VOMSProtocolListenernotifyHTTPRequest in interface VOMSProtocolListenerurl - the request urlpublic void notifyLegacyRequest(String xmlLegacyRequest)
VOMSProtocolListenernotifyLegacyRequest in interface VOMSProtocolListenerxmlLegacyRequest - a string representation of the XML legacy requestpublic void notifyReceivedResponse(VOMSResponse r)
VOMSProtocolListenernotifyReceivedResponse in interface VOMSProtocolListenerr - the received VOMSResponseCopyright © 2014. All rights reserved.