|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceTicket
Interface for a Service Ticket. A service ticket is used to grant access to a specific service for a principal. A Service Ticket is generally a one-time use ticket.
| Field Summary | |
|---|---|
static java.lang.String |
PREFIX
Prefix generally applied to unique ids generated by UniqueIdGenenerator. |
| Method Summary | |
|---|---|
Service |
getService()
Retrieve the service this ticket was given for. |
TicketGrantingTicket |
grantTicketGrantingTicket(java.lang.String id,
Authentication authentication,
ExpirationPolicy expirationPolicy)
Method to grant a TicketGrantingTicket from this service to the authentication. |
boolean |
isFromNewLogin()
Determine if this ticket was created at the same time as a TicketGrantingTicket. |
boolean |
isValidFor(Service service)
|
| Methods inherited from interface org.jasig.cas.ticket.Ticket |
|---|
getCountOfUses, getCreationTime, getGrantingTicket, getId, isExpired |
| Field Detail |
|---|
static final java.lang.String PREFIX
| Method Detail |
|---|
Service getService()
boolean isFromNewLogin()
boolean isValidFor(Service service)
TicketGrantingTicket grantTicketGrantingTicket(java.lang.String id,
Authentication authentication,
ExpirationPolicy expirationPolicy)
id - The unique identifier for this ticket.authentication - The Authentication we wish to grant a ticket for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||