|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NullListener>
org.italiangrid.voms.util.NullListener
public enum NullListener
A Singleton Listener which swallows notification.
| Enum Constant Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NullListener INSTANCE
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
public void notifyVOMSRequestStart(VOMSACRequest request,
VOMSServerInfo si)
VOMSRequestListener
notifyVOMSRequestStart in interface VOMSRequestListenerrequest - the requestsi - the VOMS server endpoint information
public void notifyVOMSRequestSuccess(VOMSACRequest request,
VOMSServerInfo endpoint)
VOMSRequestListener
notifyVOMSRequestSuccess in interface VOMSRequestListenerrequest - the requestendpoint - the VOMS server endpoint information
public void notifyVOMSRequestFailure(VOMSACRequest request,
VOMSServerInfo endpoint,
Throwable error)
VOMSRequestListener
notifyVOMSRequestFailure in interface VOMSRequestListenerrequest - the requestendpoint - the VOMS server endpoint informationerror - the error related with the failure
public void notifyErrorsInVOMSReponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSErrorMessage[] errors)
VOMSRequestListener
notifyErrorsInVOMSReponse in interface VOMSRequestListenerrequest - the request related to the received responsesi - the VOMS server endpoint informationerrors - the error messages included in the response
public void notifyWarningsInVOMSResponse(VOMSACRequest request,
VOMSServerInfo si,
VOMSWarningMessage[] warnings)
VOMSRequestListener
notifyWarningsInVOMSResponse in interface VOMSRequestListenerrequest - the request related to the received responsesi - the VOMS server endpoint informationwarnings - the warning messages included in the response
public void uncaughtException(Thread t,
Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic void notifyTrustStoreUpdate(VOMSTrustStore store)
public void notifyCertficateLookupEvent(String dir)
VOMSTrustStoreStatusListener
notifyCertficateLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked forpublic void notifyLSCLookupEvent(String dir)
VOMSTrustStoreStatusListener
notifyLSCLookupEvent in interface VOMSTrustStoreStatusListenerdir - the directory where certificates are being looked for
public void notifyCertificateLoadEvent(X509Certificate cert,
File f)
VOMSTrustStoreStatusListener
notifyCertificateLoadEvent in interface VOMSTrustStoreStatusListenercert - the VOMS AA certificate loadedf - the file from which the certificate has been loaded
public void notifyLSCLoadEvent(LSCInfo lsc,
File f)
VOMSTrustStoreStatusListener
notifyLSCLoadEvent in interface VOMSTrustStoreStatusListenerlsc - the loaded VOMS LSC informationf - the file from which the LSC information has been loadedpublic void notifyCredentialLookup(String... locations)
LoadCredentialsEventListener
notifyCredentialLookup in interface LoadCredentialsEventListenerpublic void notifyLoadCredentialSuccess(String... locations)
LoadCredentialsEventListener
notifyLoadCredentialSuccess in interface LoadCredentialsEventListener
public void notifyLoadCredentialFailure(Throwable error,
String... locations)
LoadCredentialsEventListener
notifyLoadCredentialFailure 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)
VOMSServerInfoStoreListener
notifyNoValidVOMSESError in interface VOMSServerInfoStoreListenersearchedPaths - the list of searched pathspublic void notifyVOMSESlookup(String vomsesPath)
VOMSServerInfoStoreListener
notifyVOMSESlookup in interface VOMSServerInfoStoreListenervomsesPath - the path where VOMSES information are being looked for
public void notifyVOMSESInformationLoaded(String vomsesPath,
VOMSServerInfo info)
VOMSServerInfoStoreListener
notifyVOMSESInformationLoaded 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 result
public void notifyACLookupEvent(X509Certificate[] chain,
int chainLevel)
ACLookupListener
notifyACLookupEvent in interface ACLookupListenerchain - the chain where the AC is looked forchainLevel - the level in the chain where the AC is being looked for
public void notifyACParseEvent(X509Certificate[] chain,
int chainLevel)
ACLookupListener
notifyACParseEvent 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)
VOMSProtocolListener
notifyHTTPRequest in interface VOMSProtocolListenerurl - the request urlpublic void notifyLegacyRequest(String xmlLegacyRequest)
VOMSProtocolListener
notifyLegacyRequest in interface VOMSProtocolListenerxmlLegacyRequest - a string representation of the XML legacy requestpublic void notifyReceivedResponse(VOMSResponse r)
VOMSProtocolListener
notifyReceivedResponse in interface VOMSProtocolListenerr - the received VOMSResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||