Class PolicyEntity

java.lang.Object
org.keycloak.authorization.jpa.entities.PolicyEntity

@Entity public class PolicyEntity extends Object
Author:
Pedro Igor
  • Constructor Details

    • PolicyEntity

      public PolicyEntity()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getDecisionStrategy

      public DecisionStrategy getDecisionStrategy()
    • setDecisionStrategy

      public void setDecisionStrategy(DecisionStrategy decisionStrategy)
    • getLogic

      public Logic getLogic()
    • setLogic

      public void setLogic(Logic logic)
    • getConfig

      public Map<String,String> getConfig()
    • setConfig

      public void setConfig(Map<String,String> config)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getResourceServer

      public ResourceServerEntity getResourceServer()
    • setResourceServer

      public void setResourceServer(ResourceServerEntity resourceServer)
    • getResources

      public Set<ResourceEntity> getResources()
    • setResources

      public void setResources(Set<ResourceEntity> resources)
    • getScopes

      public Set<ScopeEntity> getScopes()
    • setScopes

      public void setScopes(Set<ScopeEntity> scopes)
    • getAssociatedPolicies

      public Set<PolicyEntity> getAssociatedPolicies()
    • setAssociatedPolicies

      public void setAssociatedPolicies(Set<PolicyEntity> associatedPolicies)
    • getOwner

      public String getOwner()
    • setOwner

      public void setOwner(String owner)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object