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 Details

    • UmaPermissionRepresentation

      public UmaPermissionRepresentation()
  • Method Details

    • getType

      public String getType()
      Overrides:
      getType in class AbstractPolicyRepresentation
    • setRoles

      public void setRoles(Set<String> roles)
    • addRole

      public void addRole(String... role)
    • addClientRole

      public void addClientRole(String clientId, String roleName)
    • removeRole

      public void removeRole(String role)
    • getRoles

      public Set<String> getRoles()
    • setGroups

      public void setGroups(Set<String> groups)
    • addGroup

      public void addGroup(String... group)
    • removeGroup

      public void removeGroup(String group)
    • getGroups

      public Set<String> getGroups()
    • setClients

      public void setClients(Set<String> clients)
    • addClient

      public void addClient(String... client)
    • removeClient

      public void removeClient(String client)
    • getClients

      public Set<String> getClients()
    • setUsers

      public void setUsers(Set<String> users)
    • addUser

      public void addUser(String... user)
    • removeUser

      public void removeUser(String user)
    • getUsers

      public Set<String> getUsers()
    • setCondition

      public void setCondition(String condition)
    • getCondition

      public String getCondition()