org.glite.voms
Class BasicVOMSTrustStore

java.lang.Object
  extended by org.glite.voms.BasicVOMSTrustStore
All Implemented Interfaces:
ACTrustStore

Deprecated. This class does not expose the necessary information. Use PKIStore instead. 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.

public final class BasicVOMSTrustStore
extends Object
implements ACTrustStore

Author:
mulmo, Vincenzo Ciaschini

Field Summary
static String DEFAULT_TRUST_STORE_LISTING
          Deprecated.  
 
Constructor Summary
BasicVOMSTrustStore()
          Deprecated. Creates a default VOMS trust store.
BasicVOMSTrustStore(String trustedDirList, long refreshPeriod)
          Deprecated. Creates and manages an in-memory cache of VOMS issuers by periodically scanning a directory containing the trusted issuers.
 
Method Summary
 X509Certificate[] getAACandidate(X500Principal issuer)
          Deprecated. 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.
 String getDirList()
          Deprecated.  
 void refresh()
          Deprecated. Refreshes the in-memory cache of trusted signer certificates.
 void stopRefresh()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TRUST_STORE_LISTING

public static final String DEFAULT_TRUST_STORE_LISTING
Deprecated. 
Constructor Detail

BasicVOMSTrustStore

public BasicVOMSTrustStore()
Deprecated. 
Creates a default VOMS trust store. Equivalent to
new BasicVOMSTrustStore(DEFAULT_TRUST_STORE_LISTING, 300000);


BasicVOMSTrustStore

public BasicVOMSTrustStore(String trustedDirList,
                           long refreshPeriod)
Deprecated. 
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.

Parameters:
trustedDirList - directory listing containing trusted VOMS certs
refreshPeriod - refresh period in milliseconds
See Also:
DirectoryList
Method Detail

getDirList

public String getDirList()
Deprecated. 

stopRefresh

public void stopRefresh()
Deprecated. 

refresh

public void refresh()
Deprecated. 
Refreshes the in-memory cache of trusted signer certificates.


getAACandidate

public X509Certificate[] getAACandidate(X500Principal issuer)
Deprecated. 
Description copied from interface: ACTrustStore
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.
NOTE: No actual verification or validation of signature takes place in this function.

Specified by:
getAACandidate in interface ACTrustStore
Parameters:
issuer - the principal to find an issuer for. If null, all known AAs will be returned.
Returns:
an array of issuer candidates, or null in case of an error.


Copyright © 2012. All Rights Reserved.