public class AuthorizationContext extends Object
Constructor and Description |
---|
AuthorizationContext() |
AuthorizationContext(AccessToken authzToken,
PolicyEnforcerConfig.PathConfig current) |
Modifier and Type | Method and Description |
---|---|
List<Permission> |
getPermissions() |
boolean |
hasPermission(String resourceName,
String scopeName) |
boolean |
hasResourcePermission(String resourceName) |
boolean |
hasScopePermission(String scopeName) |
boolean |
isGranted() |
public AuthorizationContext(AccessToken authzToken, PolicyEnforcerConfig.PathConfig current)
public AuthorizationContext()
public boolean hasResourcePermission(String resourceName)
public boolean hasScopePermission(String scopeName)
public List<Permission> getPermissions()
public boolean isGranted()
Copyright © 2019 JBoss by Red Hat. All rights reserved.