|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.BasicVOMSTrustStore
Implementation of a AC trust store for use with VOMS. The store keeps an in-memory cache of issuer certificates, which can be refreshed periodically.
Field Summary | |
static java.lang.String |
DEFAULT_TRUST_STORE_LISTING
|
Constructor Summary | |
BasicVOMSTrustStore()
Creates a default VOMS trust store. |
|
BasicVOMSTrustStore(java.lang.String trustedDirList,
long refreshPeriod)
Creates and manages an in-memory cache of VOMS issuers by periodically scanning a directory containing the trusted issuers. |
Method Summary | |
java.security.cert.X509Certificate[] |
getAACandidate(javax.security.auth.x500.X500Principal issuer)
Returns an array of issuer candidates, by performing a name comparison of the AC's issuer and the subject names of the certificates in the trust store. |
void |
refresh()
Refreshes the in-memory cache of trusted signer certificates. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_TRUST_STORE_LISTING
Constructor Detail |
public BasicVOMSTrustStore()
new BasicVOMSTrustStore(DEFAULT_TRUST_STORE_LISTING, 300000);
public BasicVOMSTrustStore(java.lang.String trustedDirList, long refreshPeriod)
refreshPeriod
is 0, it never refreshes.
trustedDirList
- directory listing containing trusted VOMS certsrefreshPeriod
- refresh period in millisecondsDirectoryList
Method Detail |
public void refresh()
public java.security.cert.X509Certificate[] getAACandidate(javax.security.auth.x500.X500Principal issuer)
ACTrustStore
getAACandidate
in interface ACTrustStore
null
in
case of an error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |