org.glite.voms
Class BasicVOMSTrustStore
java.lang.Object
org.glite.voms.BasicVOMSTrustStore
- ACTrustStore
public final class BasicVOMSTrustStore
extends java.lang.Object
implements ACTrustStore
BasicVOMSTrustStore() - Creates a default VOMS trust store.
|
BasicVOMSTrustStore(String trustedDirList, long refreshPeriod) - Creates and manages an in-memory cache of VOMS issuers by
periodically scanning a directory containing the trusted
issuers.
|
DEFAULT_TRUST_STORE_LISTING
public static final String DEFAULT_TRUST_STORE_LISTING
BasicVOMSTrustStore
public BasicVOMSTrustStore()
Creates a default VOMS trust store. Equivalent to
new BasicVOMSTrustStore(DEFAULT_TRUST_STORE_LISTING, 300000);
BasicVOMSTrustStore
public BasicVOMSTrustStore(String trustedDirList,
long refreshPeriod)
Creates and manages an in-memory cache of VOMS issuers by
periodically scanning a directory containing the trusted
issuers.
If refreshPeriod
is 0, it never refreshes.
trustedDirList
- directory listing containing trusted VOMS certsrefreshPeriod
- refresh period in milliseconds
getAACandidate
public X509Certificate[] getAACandidate(X500Principal issuer)
getDirList
public String getDirList()
refresh
public void refresh()
Refreshes the in-memory cache of trusted signer certificates.
stopRefresh
public void stopRefresh()