com.dtolabs.rundeck.core.authorization.providers
Interface PolicyCollection
- All Known Implementing Classes:
- YamlPolicyCollection
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)
|
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