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

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
      extended by eu.emi.security.authn.x509.helpers.ns.AbstractGlobusNamespacesStore
All Implemented Interfaces:
NamespacesStore
Direct Known Subclasses:
GlobusNamespacesStore, LazyGlobusNamespacesStore

public abstract class AbstractGlobusNamespacesStore
extends AbstractNamespacesStore

Globus EACL policy store common code. Defines parsers and constants required to load the EACL files.

This class it thread safe.

Author:
K. Benedyczak

Field Summary
static String SUFFIX
           
 
Fields inherited from class eu.emi.security.authn.x509.helpers.ns.AbstractNamespacesStore
observers, openssl1Mode
 
Constructor Summary
AbstractGlobusNamespacesStore(ObserversHandler observers, boolean openssl1Mode)
           
 
Method Summary
protected  String getFileSuffix()
           
protected  String getNotificationType()
           
protected  NamespacesParser getParser(String path)
           
 List<NamespacePolicy> getPolicies(X500Principal[] chain, int position)
          As NamespacesStore.getPolicies(X509Certificate[], int) but with principals of certificates only
protected abstract  List<NamespacePolicy> getPoliciesFor(String definedForHash, String issuerDn)
           
 
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 Detail

SUFFIX

public static final String SUFFIX
See Also:
Constant Field Values
Constructor Detail

AbstractGlobusNamespacesStore

public AbstractGlobusNamespacesStore(ObserversHandler observers,
                                     boolean openssl1Mode)
Method Detail

getNotificationType

protected String getNotificationType()
Specified by:
getNotificationType in class AbstractNamespacesStore

getParser

protected NamespacesParser getParser(String path)
Specified by:
getParser in class AbstractNamespacesStore

getFileSuffix

protected String getFileSuffix()
Specified by:
getFileSuffix in class AbstractNamespacesStore

getPolicies

public List<NamespacePolicy> getPolicies(X500Principal[] chain,
                                         int position)
Description copied from interface: NamespacesStore
As NamespacesStore.getPolicies(X509Certificate[], int) but with principals of certificates only

Returns:

getPoliciesFor

protected abstract List<NamespacePolicy> getPoliciesFor(String definedForHash,
                                                        String issuerDn)


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