Class UmaPermissionRepresentation
java.lang.Object
org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
org.keycloak.representations.idm.authorization.UmaPermissionRepresentation
- Author:
- Federico M. Facca
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addClientRole
(String clientId, String roleName) void
void
void
getRoles()
getType()
getUsers()
void
removeClient
(String client) void
removeGroup
(String group) void
removeRole
(String role) void
removeUser
(String user) void
setClients
(Set<String> clients) void
setCondition
(String condition) void
void
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
-
UmaPermissionRepresentation
public UmaPermissionRepresentation()
-
-
Method Details
-
getType
- Overrides:
getType
in classAbstractPolicyRepresentation
-
setRoles
-
addRole
-
addClientRole
-
removeRole
-
getRoles
-
setGroups
-
addGroup
-
removeGroup
-
getGroups
-
setClients
-
addClient
-
removeClient
-
getClients
-
setUsers
-
addUser
-
removeUser
-
getUsers
-
setCondition
-
getCondition
-