Class MapPermissionTicketAdapter

All Implemented Interfaces:
PermissionTicket

public class MapPermissionTicketAdapter extends AbstractPermissionTicketModel<MapPermissionTicketEntity>
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Description copied from interface: PermissionTicket
      Returns the unique identifier for this instance.
      Returns:
      the unique identifier for this instance
    • getOwner

      public String getOwner()
      Description copied from interface: PermissionTicket
      Returns the resource's owner, which is usually an identifier that uniquely identifies the resource's owner.
      Returns:
      the owner of this resource
    • getRequester

      public String getRequester()
    • getResource

      public Resource getResource()
      Description copied from interface: PermissionTicket
      Returns the Resource associated with this instance
      Returns:
      the Resource associated with this instance
    • getScope

      public Scope getScope()
      Description copied from interface: PermissionTicket
      Returns the Scope associated with this instance
      Returns:
      the Scope associated with this instance
    • isGranted

      public boolean isGranted()
    • getCreatedTimestamp

      public Long getCreatedTimestamp()
    • getGrantedTimestamp

      public Long getGrantedTimestamp()
    • setGrantedTimestamp

      public void setGrantedTimestamp(Long millis)
    • getResourceServer

      public ResourceServer getResourceServer()
      Description copied from interface: PermissionTicket
      Returns the ResourceServer where this policy belongs to.
      Returns:
      a resource server
    • getPolicy

      public Policy getPolicy()
    • setPolicy

      public void setPolicy(Policy policy)
    • toString

      public String toString()
      Overrides:
      toString in class Object