public interface PermissionTicket
Modifier and Type | Field and Description |
---|---|
static String |
GRANTED |
static String |
ID |
static String |
OWNER |
static String |
POLICY |
static String |
POLICY_IS_NOT_NULL |
static String |
REQUESTER |
static String |
REQUESTER_IS_NULL |
static String |
RESOURCE |
static String |
RESOURCE_NAME |
static String |
SCOPE |
static String |
SCOPE_IS_NULL |
Modifier and Type | Method and Description |
---|---|
Long |
getCreatedTimestamp() |
Long |
getGrantedTimestamp() |
String |
getId()
Returns the unique identifier for this instance.
|
String |
getOwner()
Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.
|
Policy |
getPolicy() |
String |
getRequester() |
Resource |
getResource()
Returns the
Resource associated with this instance |
ResourceServer |
getResourceServer()
Returns the
ResourceServer where this policy belongs to. |
Scope |
getScope()
Returns the
Scope associated with this instance |
boolean |
isGranted() |
void |
setGrantedTimestamp(Long millis) |
void |
setPolicy(Policy policy) |
static final String ID
static final String RESOURCE
static final String RESOURCE_NAME
static final String SCOPE
static final String SCOPE_IS_NULL
static final String OWNER
static final String GRANTED
static final String REQUESTER
static final String REQUESTER_IS_NULL
static final String POLICY_IS_NOT_NULL
static final String POLICY
String getId()
String getOwner()
String getRequester()
Resource getResource()
Resource
associated with this instanceResource
associated with this instanceScope getScope()
Scope
associated with this instanceScope
associated with this instanceboolean isGranted()
Long getCreatedTimestamp()
Long getGrantedTimestamp()
void setGrantedTimestamp(Long millis)
ResourceServer getResourceServer()
ResourceServer
where this policy belongs to.Policy getPolicy()
void setPolicy(Policy policy)
Copyright © 2020 JBoss by Red Hat. All rights reserved.