eu.emi.security.authn.x509.helpers.ns
Class EuGridPmaNamespacesStore

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.ns.GlobusNamespacesStore
      extended by eu.emi.security.authn.x509.helpers.ns.EuGridPmaNamespacesStore
All Implemented Interfaces:
NamespacesStore

public class EuGridPmaNamespacesStore
extends GlobusNamespacesStore

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.GlobusNamespacesStore
policiesByName
 
Constructor Summary
EuGridPmaNamespacesStore()
           
 
Method Summary
 List<NamespacePolicy> getPolicies(X500Principal subject)
           
 void setPolicies(List<NamespacePolicy> policies)
           
 
Methods inherited from class eu.emi.security.authn.x509.helpers.ns.GlobusNamespacesStore
addGlobusPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EuGridPmaNamespacesStore

public EuGridPmaNamespacesStore()
Method Detail

setPolicies

public void setPolicies(List<NamespacePolicy> policies)
Specified by:
setPolicies in interface NamespacesStore
Overrides:
setPolicies in class GlobusNamespacesStore

getPolicies

public List<NamespacePolicy> getPolicies(X500Principal subject)
Specified by:
getPolicies in interface NamespacesStore
Overrides:
getPolicies in class GlobusNamespacesStore


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.