Class PermissionTicket

  • All Implemented Interfaces:
    org.forgerock.openam.uma.UmaToken

    @SupportedAll
    public class PermissionTicket
    extends Object
    implements org.forgerock.openam.uma.UmaToken
    A POJO to represent the UMA Permission Ticket. See the UMA Spec for details.
    • Constructor Detail

      • PermissionTicket

        public PermissionTicket()
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getRealm

        public String getRealm()
      • setRealm

        public void setRealm​(String realm)
      • getExpiryTime

        public Long getExpiryTime()
      • setExpiryTime

        public void setExpiryTime​(Long expiryTime)
      • getResourceServerClientId

        public String getResourceServerClientId()
      • setResourceServerClientId

        public void setResourceServerClientId​(String resourceServerClientId)
      • getClientClientId

        public String getClientClientId()
      • setClientClientId

        public void setClientClientId​(String clientClientId)
      • incrementIteration

        public void incrementIteration()
        Increment the usage iteration of the ticket.
      • getIteration

        public int getIteration()
        Get the usage iteration of the ticket.
        Returns:
        The usage iteration count.
      • getContents

        public JsonValue getContents()
      • setContents

        public void setContents​(JsonValue contents)
      • getGrantId

        public String getGrantId()
      • setGrantId

        public void setGrantId​(String authGrantId)
      • getIssued

        public Boolean getIssued()
      • setIssued

        public void setIssued​(Boolean issued)
      • getPermissions

        public JsonValue getPermissions()