Class PerunPolicy


public class PerunPolicy extends Object
PerunPolicy represents a set of rules which is used to determine principal's access rights. policyName is policy's unique identification which is used in the configuration file perun-roles.yml perunRoles is a list of maps where each map entry consists from a role name as a key and a role object as a value. Relation between each map in the list is logical OR and relation between each entry in the map is logical AND. Example list - (Map1, Map2...) Example map - key: VOADMIN ; value: Vo key: GROUPADMIN ; value: Group includePolicies is a list of policies names whose rules will be also included in the authorization.
  • Constructor Details

  • Method Details

    • getPerunRoles

      public List<Map<String,​String>> getPerunRoles()
    • setPerunRoles

      public void setPerunRoles(List<Map<String,​String>> perunRoles)
    • getIncludePolicies

      public List<String> getIncludePolicies()
    • setIncludePolicies

      public void setIncludePolicies(List<String> includePolicies)
    • getPolicyName

      public String getPolicyName()
    • setPolicyName

      public void setPolicyName(String policyName)
    • toString

      public String toString()
      toString in class Object
    • equals

      public boolean equals(Object o)
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object