|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TicketGrantingTicket
Interface for a ticket granting ticket. A TicketGrantingTicket is the main access into the CAS service layer. Without a TicketGrantingTicket, a user of CAS cannot do anything.
| Field Summary | |
|---|---|
static String |
PREFIX
The prefix to use when generating an id for a TicketGrantingTicket. |
| Method Summary | |
|---|---|
void |
expire()
Explicitly expire a ticket. |
Authentication |
getAuthentication()
Method to retrieve the authentication. |
List<Authentication> |
getChainedAuthentications()
Method to retrieve the chained list of Authentications for this TicketGrantingTicket. |
ServiceTicket |
grantServiceTicket(String id,
Service service,
ExpirationPolicy expirationPolicy,
boolean credentialsProvided)
Grant a ServiceTicket for a specific service. |
boolean |
isRoot()
Convenience method to determine if the TicketGrantingTicket is the root of the hierarchy of tickets. |
| Methods inherited from interface org.jasig.cas.ticket.Ticket |
|---|
getCountOfUses, getCreationTime, getGrantingTicket, getId, isExpired |
| Field Detail |
|---|
static final String PREFIX
| Method Detail |
|---|
Authentication getAuthentication()
ServiceTicket grantServiceTicket(String id,
Service service,
ExpirationPolicy expirationPolicy,
boolean credentialsProvided)
id - The unique identifier for this ticket.service - The service for which we are granting a ticket
void expire()
boolean isRoot()
List<Authentication> getChainedAuthentications()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||