Class AbstractGlobusNamespacesStore
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
-
- eu.emi.security.authn.x509.helpers.ns.AbstractGlobusNamespacesStore
-
- All Implemented Interfaces:
NamespacesStore
- Direct Known Subclasses:
GlobusNamespacesStore,LazyGlobusNamespacesStore
public abstract class AbstractGlobusNamespacesStore extends AbstractNamespacesStore
Globus EACL policy store common code. Defines parsers and constants required to load the EACL files.This class it thread safe.
- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static StringSUFFIX-
Fields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
observers, openssl1Mode
-
-
Constructor Summary
Constructors Constructor Description AbstractGlobusNamespacesStore(ObserversHandler observers, boolean openssl1Mode)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringgetFileSuffix()protected StringgetNotificationType()protected NamespacesParsergetParser(String path)List<NamespacePolicy>getPolicies(X500Principal[] chain, int position)AsNamespacesStore.getPolicies(X509Certificate[], int)but with principals of certificates onlyprotected abstract List<NamespacePolicy>getPoliciesFor(String definedForHash, String issuerDn)-
Methods inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
addPolicy, addPolicyToMap, getCachedPolicies, getPolicies, tryLoadNsLocation, tryLoadNsPath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.emi.security.authn.x509.helpers.ns.NamespacesStore
setPolicies
-
-
-
-
Field Detail
-
SUFFIX
public static final String SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractGlobusNamespacesStore
public AbstractGlobusNamespacesStore(ObserversHandler observers, boolean openssl1Mode)
-
-
Method Detail
-
getNotificationType
protected String getNotificationType()
- Specified by:
getNotificationTypein classAbstractNamespacesStore
-
getParser
protected NamespacesParser getParser(String path)
- Specified by:
getParserin classAbstractNamespacesStore
-
getFileSuffix
protected String getFileSuffix()
- Specified by:
getFileSuffixin classAbstractNamespacesStore
-
getPolicies
public List<NamespacePolicy> getPolicies(X500Principal[] chain, int position)
Description copied from interface:NamespacesStoreAsNamespacesStore.getPolicies(X509Certificate[], int)but with principals of certificates only- Parameters:
chain- chainposition- position- Returns:
- policies
-
getPoliciesFor
protected abstract List<NamespacePolicy> getPoliciesFor(String definedForHash, String issuerDn)
-
-