Class VOMSTrustStores


  • public class VOMSTrustStores
    extends java.lang.Object
    A factory for VOMS trust stores
    • Constructor Detail

      • VOMSTrustStores

        public VOMSTrustStores()
    • Method Detail

      • newTrustStore

        public static VOMSTrustStore newTrustStore​(java.util.List<java.lang.String> localTrustDirs,
                                                   long updateFrequency,
                                                   VOMSTrustStoreStatusListener statusListener)
        Creates a VOMSTrustStore configured according to the parameters passed as argument
        Parameters:
        localTrustDirs - the directory where voms information will be searched
        updateFrequency - the trust store update frequency in milliseconds
        statusListener - a listener that is notified of events related to the created trust store
        Returns:
        a VOMSTrustStore configured as requested.
      • newTrustStore

        public static VOMSTrustStore newTrustStore​(java.util.List<java.lang.String> localTrustDirs)
        Creates a VOMSTrustStore configured according to the parameters passed as argument
        Parameters:
        localTrustDirs - the directory where voms information will be searched
        Returns:
        a VOMSTrustStore configured as requested.
      • newTrustStore

        public static VOMSTrustStore newTrustStore​(long updateFrequency)
        Creates a VOMSTrustStore configured according to the parameters passed as argument
        Parameters:
        updateFrequency - the trust store update frequency in milliseconds
        Returns:
        a VOMSTrustStore configured as requested.