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
- Author:
- Pedro Igor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addResource
(String id) void
boolean
getId()
getLogic()
getName()
getOwner()
getType()
int
hashCode()
void
removePolicy
(String policy) void
removeScope
(String scope) void
setDecisionStrategy
(DecisionStrategy decisionStrategy) void
setDescription
(String description) void
void
void
void
void
setPolicies
(Set<String> policies) void
setResources
(Set<String> resources) <R> void
setResourcesData
(Set<ResourceRepresentation> resources) void
void
setScopesData
(Set<ScopeRepresentation> scopesData) void
-
Constructor Details
-
AbstractPolicyRepresentation
public AbstractPolicyRepresentation()
-
-
Method Details
-
getId
-
setId
-
getType
-
setType
-
getDecisionStrategy
-
setDecisionStrategy
-
getLogic
-
setLogic
-
getName
-
setName
-
getDescription
-
setDescription
-
getPolicies
-
setPolicies
-
addPolicy
-
removePolicy
-
getResources
-
setResources
-
addResource
-
getScopes
-
setScopes
-
addScope
-
removeScope
-
getOwner
-
setOwner
-
equals
-
hashCode
public int hashCode() -
setResourcesData
-
getResourcesData
-
setScopesData
-
getScopesData
-