Class AbstractPolicyRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
-
- Direct Known Subclasses:
AggregatePolicyRepresentation
,ClientPolicyRepresentation
,ClientScopePolicyRepresentation
,GroupPolicyRepresentation
,JSPolicyRepresentation
,PolicyRepresentation
,RegexPolicyRepresentation
,ResourcePermissionRepresentation
,RolePolicyRepresentation
,ScopePermissionRepresentation
,TimePolicyRepresentation
,UmaPermissionRepresentation
,UserPolicyRepresentation
public class AbstractPolicyRepresentation extends Object
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description AbstractPolicyRepresentation()
-
Method Summary
-
-
-
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)
-
addPolicy
public void addPolicy(String... id)
-
removePolicy
public void removePolicy(String policy)
-
addResource
public void addResource(String id)
-
addScope
public void addScope(String... id)
-
removeScope
public void removeScope(String scope)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
setResourcesData
public <R> void setResourcesData(Set<ResourceRepresentation> resources)
-
getResourcesData
public Set<ResourceRepresentation> getResourcesData()
-
setScopesData
public void setScopesData(Set<ScopeRepresentation> scopesData)
-
getScopesData
public Set<ScopeRepresentation> getScopesData()
-
-