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.
-
Field Summary
FieldsFields inherited from class AbstractNamespacesStore
observers, openssl1Mode -
Constructor Summary
ConstructorsConstructorDescriptionAbstractEuGridPmaNamespacesStore(ObserversHandler observers, boolean openssl1Mode) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected NamespacesParsergetPolicies(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 AbstractNamespacesStore
addPolicy, addPolicyToMap, getCachedPolicies, getPolicies, tryLoadNsLocation, tryLoadNsPathMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamespacesStore
setPolicies
-
Field Details
-
SUFFIX
- See Also:
-
-
Constructor Details
-
AbstractEuGridPmaNamespacesStore
-
-
Method Details
-
getNotificationType
- Specified by:
getNotificationTypein classAbstractNamespacesStore
-
getParser
- Specified by:
getParserin classAbstractNamespacesStore
-
getFileSuffix
- Specified by:
getFileSuffixin classAbstractNamespacesStore
-
getPolicies
Description copied from interface:NamespacesStoreAsNamespacesStore.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)
-