public class GlobusNamespacesStore extends Object implements NamespacesStore
NamespacePolicy
objects.
The objects are matched by the subject name. This implementation is useful for Globus-like
EACL policies.
This class it thread safe.Modifier and Type | Field and Description |
---|---|
protected Map<String,List<NamespacePolicy>> |
policiesByName |
Constructor and Description |
---|
GlobusNamespacesStore() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlobusPolicy(NamespacePolicy policy) |
List<NamespacePolicy> |
getPolicies(X500Principal subject) |
void |
setPolicies(List<NamespacePolicy> policies) |
protected Map<String,List<NamespacePolicy>> policiesByName
public void setPolicies(List<NamespacePolicy> policies)
setPolicies
in interface NamespacesStore
protected void addGlobusPolicy(NamespacePolicy policy)
public List<NamespacePolicy> getPolicies(X500Principal subject)
getPolicies
in interface NamespacesStore
Copyright © 2012–2013 European Middleware Initiative. All rights reserved.