Enum NullListener

    • Enum Constant Detail

    • Method Detail

      • values

        public static NullListener[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NullListener c : NullListener.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NullListener valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • uncaughtException

        public void uncaughtException​(java.lang.Thread t,
                                      java.lang.Throwable e)
        Specified by:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler
      • notifyTrustStoreUpdate

        public void notifyTrustStoreUpdate​(VOMSTrustStore store)
      • notifyLSCLookupEvent

        public void notifyLSCLookupEvent​(java.lang.String dir)
        Description copied from interface: VOMSTrustStoreStatusListener
        Informs that VOMS LSC file information is being looked for in the directory passed as argument.
        Specified by:
        notifyLSCLookupEvent in interface VOMSTrustStoreStatusListener
        Parameters:
        dir - the directory where certificates are being looked for
      • notifyCertificateLoadEvent

        public void notifyCertificateLoadEvent​(java.security.cert.X509Certificate cert,
                                               java.io.File f)
        Description copied from interface: VOMSTrustStoreStatusListener
        Informs that a VOMS AA certificate has been loaded in the store
        Specified by:
        notifyCertificateLoadEvent in interface VOMSTrustStoreStatusListener
        Parameters:
        cert - the VOMS AA certificate loaded
        f - the file from which the certificate has been loaded
      • notifyCredentialLookup

        public void notifyCredentialLookup​(java.lang.String... locations)
        Description copied from interface: LoadCredentialsEventListener
        Informs that credentials are been looked for in the locations passed as argument.
        Specified by:
        notifyCredentialLookup in interface LoadCredentialsEventListener
        Parameters:
        locations - the locations (as strings) where the credentials are being searched
      • notifyLoadCredentialSuccess

        public void notifyLoadCredentialSuccess​(java.lang.String... locations)
        Description copied from interface: LoadCredentialsEventListener
        Informs that credentials have been succesfully loaded from the credentials passed as argument.
        Specified by:
        notifyLoadCredentialSuccess in interface LoadCredentialsEventListener
        Parameters:
        locations - the locations (as strings) where the credentials are being searched
      • notifyLoadCredentialFailure

        public void notifyLoadCredentialFailure​(java.lang.Throwable error,
                                                java.lang.String... locations)
        Description copied from interface: LoadCredentialsEventListener
        Informs that credentials could not be loaded form the locations passed as argument.
        Specified by:
        notifyLoadCredentialFailure in interface LoadCredentialsEventListener
        Parameters:
        error - the Throwable that caused the credential load operation to fail
        locations - the locations where the credentials where loaded from
      • notifyVOMSESlookup

        public void notifyVOMSESlookup​(java.lang.String vomsesPath)
        Description copied from interface: VOMSServerInfoStoreListener
        Informs that VOMSES is being search at the path passed as argument
        Specified by:
        notifyVOMSESlookup in interface VOMSServerInfoStoreListener
        Parameters:
        vomsesPath - the path where VOMSES information are being looked for
      • notifyACLookupEvent

        public void notifyACLookupEvent​(java.security.cert.X509Certificate[] chain,
                                        int chainLevel)
        Description copied from interface: ACLookupListener
        Informs that an AC is being looked for in the cert chain passed as argument.
        Specified by:
        notifyACLookupEvent in interface ACLookupListener
        Parameters:
        chain - the chain where the AC is looked for
        chainLevel - the level in the chain where the AC is being looked for
      • notifyACParseEvent

        public void notifyACParseEvent​(java.security.cert.X509Certificate[] chain,
                                       int chainLevel)
        Description copied from interface: ACLookupListener
        Informs that an AC has been succesfully parsed from the cert chain passed as argument
        Specified by:
        notifyACParseEvent in interface ACLookupListener
        Parameters:
        chain - the chain from which the AC has been parsed
        chainLevel - the level in the chain where the AC has been parsed
      • notifyHTTPRequest

        public void notifyHTTPRequest​(java.lang.String url)
        Description copied from interface: VOMSProtocolListener
        Informs that a VOMS HTTP GET request is being issued for the URL passed as argument
        Specified by:
        notifyHTTPRequest in interface VOMSProtocolListener
        Parameters:
        url - the request url
      • notifyLegacyRequest

        public void notifyLegacyRequest​(java.lang.String xmlLegacyRequest)
        Description copied from interface: VOMSProtocolListener
        Informs that a VOMS legacy request is being issued
        Specified by:
        notifyLegacyRequest in interface VOMSProtocolListener
        Parameters:
        xmlLegacyRequest - a string representation of the XML legacy request