Package org.italiangrid.voms.store
Class VOMSTrustStores
- java.lang.Object
-
- org.italiangrid.voms.store.VOMSTrustStores
-
public class VOMSTrustStores extends java.lang.ObjectA factory for VOMS trust stores
-
-
Constructor Summary
Constructors Constructor Description VOMSTrustStores()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VOMSTrustStorenewTrustStore()Creates aVOMSTrustStoreconfigured with default settings.static VOMSTrustStorenewTrustStore(long updateFrequency)Creates aVOMSTrustStoreconfigured according to the parameters passed as argumentstatic VOMSTrustStorenewTrustStore(java.util.List<java.lang.String> localTrustDirs)Creates aVOMSTrustStoreconfigured according to the parameters passed as argumentstatic VOMSTrustStorenewTrustStore(java.util.List<java.lang.String> localTrustDirs, long updateFrequency, VOMSTrustStoreStatusListener statusListener)Creates aVOMSTrustStoreconfigured according to the parameters passed as argument
-
-
-
Method Detail
-
newTrustStore
public static VOMSTrustStore newTrustStore()
Creates aVOMSTrustStoreconfigured with default settings.- Returns:
- a
VOMSTrustStoreconfigured with default settings.
-
newTrustStore
public static VOMSTrustStore newTrustStore(java.util.List<java.lang.String> localTrustDirs, long updateFrequency, VOMSTrustStoreStatusListener statusListener)
Creates aVOMSTrustStoreconfigured 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
VOMSTrustStoreconfigured as requested.
-
newTrustStore
public static VOMSTrustStore newTrustStore(java.util.List<java.lang.String> localTrustDirs)
Creates aVOMSTrustStoreconfigured according to the parameters passed as argument- Parameters:
localTrustDirs- the directory where voms information will be searched- Returns:
- a
VOMSTrustStoreconfigured as requested.
-
newTrustStore
public static VOMSTrustStore newTrustStore(long updateFrequency)
Creates aVOMSTrustStoreconfigured according to the parameters passed as argument- Parameters:
updateFrequency- the trust store update frequency in milliseconds- Returns:
- a
VOMSTrustStoreconfigured as requested.
-
-