public class RolePolicyRepresentation extends AbstractPolicyRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
RolePolicyRepresentation.RoleDefinition |
Constructor and Description |
---|
RolePolicyRepresentation() |
Modifier and Type | Method and Description |
---|---|
void |
addClientRole(String clientId,
String name) |
void |
addClientRole(String clientId,
String name,
boolean required) |
void |
addRole(String name) |
void |
addRole(String name,
boolean required) |
Set<RolePolicyRepresentation.RoleDefinition> |
getRoles() |
String |
getType() |
void |
setRoles(Set<RolePolicyRepresentation.RoleDefinition> roles) |
addPolicy, addResource, addScope, equals, getDecisionStrategy, getDescription, getId, getLogic, getName, getOwner, getPolicies, getResources, getScopes, hashCode, removePolicy, removeScope, setDecisionStrategy, setDescription, setId, setLogic, setName, setOwner, setPolicies, setResources, setScopes, setType
public String getType()
getType
in class AbstractPolicyRepresentation
public Set<RolePolicyRepresentation.RoleDefinition> getRoles()
public void setRoles(Set<RolePolicyRepresentation.RoleDefinition> roles)
public void addRole(String name, boolean required)
public void addRole(String name)
Copyright © 2019 JBoss by Red Hat. All rights reserved.