Class UmaPermissionRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.authorization.AbstractPolicyRepresentation
-
- org.keycloak.representations.idm.authorization.UmaPermissionRepresentation
-
public class UmaPermissionRepresentation extends AbstractPolicyRepresentation
- Author:
- Federico M. Facca
-
-
Constructor Summary
Constructors Constructor Description UmaPermissionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClient(String... client)
void
addClientRole(String clientId, String roleName)
void
addGroup(String... group)
void
addRole(String... role)
void
addUser(String... user)
Set<String>
getClients()
String
getCondition()
Set<String>
getGroups()
Set<String>
getRoles()
String
getType()
Set<String>
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
setGroups(Set<String> groups)
void
setRoles(Set<String> roles)
void
setUsers(Set<String> users)
-
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
-
-
-
-
Method Detail
-
getType
public String getType()
- Overrides:
getType
in classAbstractPolicyRepresentation
-
addRole
public void addRole(String... role)
-
removeRole
public void removeRole(String role)
-
addGroup
public void addGroup(String... group)
-
removeGroup
public void removeGroup(String group)
-
addClient
public void addClient(String... client)
-
removeClient
public void removeClient(String client)
-
addUser
public void addUser(String... user)
-
removeUser
public void removeUser(String user)
-
setCondition
public void setCondition(String condition)
-
getCondition
public String getCondition()
-
-