public class MapPermissionTicketAdapter extends AbstractPermissionTicketModel<MapPermissionTicketEntity>
PermissionTicket.FilterOption, PermissionTicket.SearchableFields
entity, storeFactory
Constructor and Description |
---|
MapPermissionTicketAdapter(MapPermissionTicketEntity entity,
StoreFactory storeFactory) |
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) |
String |
toString() |
equals, hashCode
public MapPermissionTicketAdapter(MapPermissionTicketEntity entity, StoreFactory storeFactory)
public String getId()
PermissionTicket
public String getOwner()
PermissionTicket
public String getRequester()
public Resource getResource()
PermissionTicket
Resource
associated with this instanceResource
associated with this instancepublic Scope getScope()
PermissionTicket
Scope
associated with this instanceScope
associated with this instancepublic boolean isGranted()
public Long getCreatedTimestamp()
public Long getGrantedTimestamp()
public void setGrantedTimestamp(Long millis)
public ResourceServer getResourceServer()
PermissionTicket
ResourceServer
where this policy belongs to.public Policy getPolicy()
public void setPolicy(Policy policy)
Copyright © 2021 JBoss by Red Hat. All rights reserved.