Class EuGridPmaNamespacesStore
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.EuGridPmaNamespacesStore
- All Implemented Interfaces:
NamespacesStore
Provides an in-memory store of
NamespacePolicy
objects.
The objects are matched either by subject name or by its MD5 hash (needed in case of
SELF subject). This implementation is useful for EuGridPMA namespaces definitions.
This class it thread safe.- Author:
- K. Benedyczak
-
Field Summary
Fields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractEuGridPmaNamespacesStore
SUFFIX
Fields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
observers, openssl1Mode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<NamespacePolicy>
getPoliciesByIssuerDn
(String definedForHash, String issuerDn) protected List<NamespacePolicy>
getPoliciesByIssuerHash
(String definedForHash, String issuerHash) void
setPolicies
(Collection<String> locations) protected void
setPolicies
(List<NamespacePolicy> policies) Methods inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractEuGridPmaNamespacesStore
getFileSuffix, getNotificationType, getParser, getPolicies
Methods inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
addPolicy, addPolicyToMap, getCachedPolicies, getPolicies, tryLoadNsLocation, tryLoadNsPath
-
Constructor Details
-
EuGridPmaNamespacesStore
-
-
Method Details
-
setPolicies
-
setPolicies
-
getPoliciesByIssuerHash
- Specified by:
getPoliciesByIssuerHash
in classAbstractEuGridPmaNamespacesStore
-
getPoliciesByIssuerDn
- Specified by:
getPoliciesByIssuerDn
in classAbstractEuGridPmaNamespacesStore
-