Class RolePolicyRepresentation
java.lang.Object
org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
org.keycloak.representations.idm.authorization.RolePolicyRepresentation
- Author:
- Pedro Igor
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClientRole
(String clientId, String name) void
addClientRole
(String clientId, String name, boolean required) void
void
getRoles()
getType()
boolean
void
setFetchRoles
(boolean fetchRoles) void
Methods inherited from class org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
addPolicy, addResource, addScope, equals, getDecisionStrategy, getDescription, getId, getLogic, getName, getOwner, getPolicies, getResources, getResourcesData, getScopes, getScopesData, hashCode, removePolicy, removeScope, setDecisionStrategy, setDescription, setId, setLogic, setName, setOwner, setPolicies, setResources, setResourcesData, setScopes, setScopesData, setType
-
Constructor Details
-
RolePolicyRepresentation
public RolePolicyRepresentation()
-
-
Method Details
-
getType
- Overrides:
getType
in classAbstractPolicyRepresentation
-
getRoles
-
setRoles
-
addRole
-
addRole
-
addClientRole
-
addClientRole
-
isFetchRoles
public boolean isFetchRoles() -
setFetchRoles
public void setFetchRoles(boolean fetchRoles)
-