Package org.italiangrid.voms.store
Class VOMSTrustStores
- java.lang.Object
-
- org.italiangrid.voms.store.VOMSTrustStores
-
public class VOMSTrustStores extends Object
A factory for VOMS trust stores- Author:
- cecco
-
-
Constructor Summary
Constructors Constructor Description VOMSTrustStores()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VOMSTrustStore
newTrustStore()
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
-
-
-
Method Detail
-
newTrustStore
public static VOMSTrustStore 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
public static VOMSTrustStore newTrustStore(List<String> localTrustDirs)
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
public static VOMSTrustStore newTrustStore(long updateFrequency)
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.
-
-