eu.emi.security.authn.x509.helpers.ns
Class LazyEuGridPmaNamespacesStore
java.lang.Object
eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
eu.emi.security.authn.x509.helpers.ns.AbstractEuGridPmaNamespacesStore
eu.emi.security.authn.x509.helpers.ns.LazyEuGridPmaNamespacesStore
- All Implemented Interfaces:
- NamespacesStore
public class LazyEuGridPmaNamespacesStore
- extends AbstractEuGridPmaNamespacesStore
EuGridPMA namespace policies are loaded on demand by this store and are cached in memory. A
weak hash map is used to cache data. Additionally the data is cached for no longer then the
update interval, which in practice is the same as for the cooperating truststore.
This class it thread safe.
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directory
protected final String directory
updateInterval
protected final long updateInterval
LazyEuGridPmaNamespacesStore
public LazyEuGridPmaNamespacesStore(ObserversHandler observers,
boolean openssl1Mode,
String directory,
long updateInterval)
setPolicies
public void setPolicies(Collection<String> locations)
getPoliciesByIssuerHash
protected List<NamespacePolicy> getPoliciesByIssuerHash(String definedForHash,
String issuerHash)
- Specified by:
getPoliciesByIssuerHash
in class AbstractEuGridPmaNamespacesStore
getPoliciesByIssuerDn
protected List<NamespacePolicy> getPoliciesByIssuerDn(String definedForHash,
String issuerDn)
- Specified by:
getPoliciesByIssuerDn
in class AbstractEuGridPmaNamespacesStore
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.