Package org.italiangrid.voms.store
Class VOMSTrustStores
java.lang.Object
org.italiangrid.voms.store.VOMSTrustStores
A factory for VOMS trust stores
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VOMSTrustStore
Creates aVOMSTrustStore
configured with default settings.static VOMSTrustStore
newTrustStore
(long updateFrequency) Creates aVOMSTrustStore
configured according to the parameters passed as argumentstatic VOMSTrustStore
newTrustStore
(List<String> localTrustDirs) Creates aVOMSTrustStore
configured according to the parameters passed as argumentstatic VOMSTrustStore
newTrustStore
(List<String> localTrustDirs, long updateFrequency, VOMSTrustStoreStatusListener statusListener) Creates aVOMSTrustStore
configured according to the parameters passed as argument
-
Constructor Details
-
VOMSTrustStores
public VOMSTrustStores()
-
-
Method Details
-
newTrustStore
Creates aVOMSTrustStore
configured with default settings.- Returns:
- a
VOMSTrustStore
configured with default settings.
-
newTrustStore
public static VOMSTrustStore newTrustStore(List<String> localTrustDirs, long updateFrequency, VOMSTrustStoreStatusListener statusListener) Creates aVOMSTrustStore
configured according to the parameters passed as argument- Parameters:
localTrustDirs
- the directory where voms information will be searchedupdateFrequency
- the trust store update frequency in millisecondsstatusListener
- a listener that is notified of events related to the created trust store- Returns:
- a
VOMSTrustStore
configured as requested.
-
newTrustStore
Creates aVOMSTrustStore
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
Creates aVOMSTrustStore
configured according to the parameters passed as argument- Parameters:
updateFrequency
- the trust store update frequency in milliseconds- Returns:
- a
VOMSTrustStore
configured as requested.
-