public class ResourcePermission extends Object
Constructor and Description |
---|
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
Resource |
getResource()
Returns the resource to which this permission applies.
|
ResourceServer |
getResourceServer()
Returns the resource server associated with this permission.
|
List<Scope> |
getScopes()
Returns a list of permitted scopes associated with the resource
|
public ResourcePermission(Resource resource, List<Scope> scopes, ResourceServer resourceServer)
public Resource getResource()
public List<Scope> getScopes()
public ResourceServer getResourceServer()
Copyright © 2016 JBoss by Red Hat. All rights reserved.