Interface Policy

  • All Superinterfaces:
    com.dtolabs.rundeck.core.authorization.AclRuleSetSource
    All Known Implementing Classes:
    YamlParsePolicy

    public interface Policy
    extends com.dtolabs.rundeck.core.authorization.AclRuleSetSource
    Policy is contains a set of RuleSetConstructor with corresponding usernames and/or groups associated with the each Acl. The policy is a reference to a phycial policy stored on persistantly.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()  
      com.dtolabs.rundeck.core.authorization.providers.EnvironmentalContext getEnvironment()  
      java.util.Set<java.lang.String> getGroups()
      Return a list of group objects associated with this policy.
      java.util.Set<java.lang.String> getUrns()
      Return a list of urns objects associated with this policy.
      java.util.Set<java.lang.String> getUsernames()
      Return a list of usernames as strings associated with this policy.
      boolean isBy()  
      • Methods inherited from interface com.dtolabs.rundeck.core.authorization.AclRuleSetSource

        getRuleSet
    • Method Detail

      • getUsernames

        java.util.Set<java.lang.String> getUsernames()
        Return a list of usernames as strings associated with this policy.
        Returns:
        usernames
      • getGroups

        java.util.Set<java.lang.String> getGroups()
        Return a list of group objects associated with this policy.
        Returns:
        groups
      • getUrns

        java.util.Set<java.lang.String> getUrns()
        Return a list of urns objects associated with this policy.
        Returns:
        groups
      • getEnvironment

        com.dtolabs.rundeck.core.authorization.providers.EnvironmentalContext getEnvironment()
        Returns:
        the environmental context to test the Policy against an input environment
      • getDescription

        java.lang.String getDescription()
        Returns:
        description of the policy
      • isBy

        boolean isBy()