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
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
FieldsFields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
observers, openssl1Mode
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractEuGridPmaNamespacesStore
(ObserversHandler observers, boolean openssl1Mode) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
protected NamespacesParser
getPolicies
(X500Principal[] chain, int position) AsNamespacesStore.getPolicies(X509Certificate[], int)
but with principals of certificates onlyprotected abstract List<NamespacePolicy>
getPoliciesByIssuerDn
(String definedForHash, String issuerDn) protected abstract List<NamespacePolicy>
getPoliciesByIssuerHash
(String definedForHash, 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 Details
-
SUFFIX
- See Also:
-
-
Constructor Details
-
AbstractEuGridPmaNamespacesStore
-
-
Method Details
-
getNotificationType
- Specified by:
getNotificationType
in classAbstractNamespacesStore
-
getParser
- Specified by:
getParser
in classAbstractNamespacesStore
-
getFileSuffix
- Specified by:
getFileSuffix
in classAbstractNamespacesStore
-
getPolicies
Description copied from interface:NamespacesStore
AsNamespacesStore.getPolicies(X509Certificate[], int)
but with principals of certificates only- Parameters:
chain
- chainposition
- position- Returns:
- policies
-
getPoliciesByIssuerHash
protected abstract List<NamespacePolicy> getPoliciesByIssuerHash(String definedForHash, String issuerHash) -
getPoliciesByIssuerDn
protected abstract List<NamespacePolicy> getPoliciesByIssuerDn(String definedForHash, String issuerDn)
-