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
SUFFIXFields 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) voidsetPolicies(Collection<String> locations) protected voidsetPolicies(List<NamespacePolicy> policies) Methods inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractEuGridPmaNamespacesStore
getFileSuffix, getNotificationType, getParser, getPoliciesMethods 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:
getPoliciesByIssuerHashin classAbstractEuGridPmaNamespacesStore
-
getPoliciesByIssuerDn
- Specified by:
getPoliciesByIssuerDnin classAbstractEuGridPmaNamespacesStore
-