public static class AccessToken.Access extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
roles |
protected Boolean |
verifyCaller |
Constructor and Description |
---|
Access() |
Modifier and Type | Method and Description |
---|---|
AccessToken.Access |
addRole(String role) |
AccessToken.Access |
clone() |
Set<String> |
getRoles() |
Boolean |
getVerifyCaller() |
boolean |
isUserInRole(String role) |
AccessToken.Access |
roles(Set<String> roles) |
AccessToken.Access |
verifyCaller(Boolean required) |
public AccessToken.Access clone()
public AccessToken.Access roles(Set<String> roles)
public boolean isUserInRole(String role)
public AccessToken.Access addRole(String role)
public Boolean getVerifyCaller()
public AccessToken.Access verifyCaller(Boolean required)
Copyright © 2016 JBoss by Red Hat. All rights reserved.