com.dtolabs.rundeck.core.authorization.providers
Interface PolicyCollection

All Known Implementing Classes:
PoliciesDocument, PoliciesYaml

public interface PolicyCollection


Method Summary
 long countPolicies()
           
 java.util.Collection<java.lang.String> groupNames()
          For a given policy collection, return all the group names associated with it.
 java.util.Collection<AclContext> matchedContexts(javax.security.auth.Subject subject, java.util.Set<Attribute> environment)
           
 

Method Detail

groupNames

java.util.Collection<java.lang.String> groupNames()
                                                  throws InvalidCollection
For a given policy collection, return all the group names associated with it.

Returns:
collection of group names.
Throws:
javax.xml.xpath.XPathExpressionException
InvalidCollection

countPolicies

long countPolicies()
                   throws InvalidCollection
Throws:
InvalidCollection

matchedContexts

java.util.Collection<AclContext> matchedContexts(javax.security.auth.Subject subject,
                                                 java.util.Set<Attribute> environment)
                                                 throws InvalidCollection
Throws:
InvalidCollection