Class AbstractEuGridPmaNamespacesStore
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
-
- eu.emi.security.authn.x509.helpers.ns.AbstractEuGridPmaNamespacesStore
-
- All Implemented Interfaces:
NamespacesStore
- Direct Known Subclasses:
EuGridPmaNamespacesStore
,LazyEuGridPmaNamespacesStore
public abstract class AbstractEuGridPmaNamespacesStore extends AbstractNamespacesStore
EuGridPMA policy store common code. Defines parsers and constants required to load the .namespaces files.This class it thread safe.
- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SUFFIX
-
Fields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
observers, openssl1Mode
-
-
Constructor Summary
Constructors Constructor Description AbstractEuGridPmaNamespacesStore(ObserversHandler observers, boolean openssl1Mode)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getFileSuffix()
protected java.lang.String
getNotificationType()
protected NamespacesParser
getParser(java.lang.String path)
java.util.List<NamespacePolicy>
getPolicies(javax.security.auth.x500.X500Principal[] chain, int position)
AsNamespacesStore.getPolicies(X509Certificate[], int)
but with principals of certificates onlyprotected abstract java.util.List<NamespacePolicy>
getPoliciesByIssuerDn(java.lang.String definedForHash, java.lang.String issuerDn)
protected abstract java.util.List<NamespacePolicy>
getPoliciesByIssuerHash(java.lang.String definedForHash, java.lang.String issuerHash)
-
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 java.lang.String SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractEuGridPmaNamespacesStore
public AbstractEuGridPmaNamespacesStore(ObserversHandler observers, boolean openssl1Mode)
-
-
Method Detail
-
getNotificationType
protected java.lang.String getNotificationType()
- Specified by:
getNotificationType
in classAbstractNamespacesStore
-
getParser
protected NamespacesParser getParser(java.lang.String path)
- Specified by:
getParser
in classAbstractNamespacesStore
-
getFileSuffix
protected java.lang.String getFileSuffix()
- Specified by:
getFileSuffix
in classAbstractNamespacesStore
-
getPolicies
public java.util.List<NamespacePolicy> getPolicies(javax.security.auth.x500.X500Principal[] chain, int position)
Description copied from interface:NamespacesStore
AsNamespacesStore.getPolicies(X509Certificate[], int)
but with principals of certificates only- Parameters:
chain
- chainposition
- position- Returns:
- policies
-
getPoliciesByIssuerHash
protected abstract java.util.List<NamespacePolicy> getPoliciesByIssuerHash(java.lang.String definedForHash, java.lang.String issuerHash)
-
getPoliciesByIssuerDn
protected abstract java.util.List<NamespacePolicy> getPoliciesByIssuerDn(java.lang.String definedForHash, java.lang.String issuerDn)
-
-