Class PolicyEntity
- java.lang.Object
-
- org.keycloak.authorization.jpa.entities.PolicyEntity
-
@Entity public class PolicyEntity extends Object
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description PolicyEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<PolicyEntity>
getAssociatedPolicies()
Map<String,String>
getConfig()
DecisionStrategy
getDecisionStrategy()
String
getDescription()
String
getId()
Logic
getLogic()
String
getName()
String
getOwner()
Set<ResourceEntity>
getResources()
ResourceServerEntity
getResourceServer()
Set<ScopeEntity>
getScopes()
String
getType()
int
hashCode()
void
setAssociatedPolicies(Set<PolicyEntity> associatedPolicies)
void
setConfig(Map<String,String> config)
void
setDecisionStrategy(DecisionStrategy decisionStrategy)
void
setDescription(String description)
void
setId(String id)
void
setLogic(Logic logic)
void
setName(String name)
void
setOwner(String owner)
void
setResources(Set<ResourceEntity> resources)
void
setResourceServer(ResourceServerEntity resourceServer)
void
setScopes(Set<ScopeEntity> scopes)
void
setType(String type)
-
-
-
Method Detail
-
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)
-
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)
-
-