Class PolicyEvaluationRequest
- java.lang.Object
-
- org.keycloak.representations.idm.authorization.PolicyEvaluationRequest
-
public class PolicyEvaluationRequest extends Object
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description PolicyEvaluationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyEvaluationRequest
addResource(String name, String... scopes)
String
getClientId()
Map<String,Map<String,String>>
getContext()
List<ResourceRepresentation>
getResources()
List<String>
getRoleIds()
String
getUserId()
boolean
isEntitlements()
void
setClientId(String clientId)
void
setContext(Map<String,Map<String,String>> context)
void
setEntitlements(boolean entitlements)
void
setResources(List<ResourceRepresentation> resources)
void
setRoleIds(List<String> roleIds)
void
setUserId(String userId)
-
-
-
Method Detail
-
getResources
public List<ResourceRepresentation> getResources()
-
setResources
public void setResources(List<ResourceRepresentation> resources)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
isEntitlements
public boolean isEntitlements()
-
setEntitlements
public void setEntitlements(boolean entitlements)
-
addResource
public PolicyEvaluationRequest addResource(String name, String... scopes)
-
-