Package org.forgerock.openam.uma
Class PermissionTicket
java.lang.Object
org.forgerock.openam.uma.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
int
Get the usage iteration of the ticket.getRealm()
void
Increment the usage iteration of the ticket.void
setClientClientId
(String clientClientId) void
setContents
(JsonValue contents) void
setExpiryTime
(Long expiryTime) void
setGrantId
(String authGrantId) void
void
void
void
setResourceServerClientId
(String resourceServerClientId)
-
Constructor Details
-
PermissionTicket
-
PermissionTicket
public PermissionTicket()
-
-
Method Details
-
getId
-
setId
-
getRealm
-
setRealm
-
getExpiryTime
-
setExpiryTime
-
getResourceServerClientId
-
setResourceServerClientId
-
getClientClientId
-
setClientClientId
-
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
-
setContents
-
getGrantId
-
setGrantId
-
getIssued
-
setIssued
-
getPermissions
-