org.jasig.cas.ticket
Interface TicketState

All Known Implementing Classes:
AbstractTicket, ServiceTicketImpl, TicketGrantingTicketImpl

public interface TicketState

Since:
3.0.5
Version:
$Revision: 42067 $ $Date: 2007-06-12 15:55:40 -0400 (Tue, 12 Jun 2007) $
Author:
Scott Battaglia

Method Summary
 Authentication getAuthentication()
          Authentication information from the ticket.
 int getCountOfUses()
          Returns the number of times a ticket was used.
 long getCreationTime()
          Get the time the ticket was created.
 long getLastTimeUsed()
          Returns the last time the ticket was used.
 long getPreviousTimeUsed()
          Get the second to last time used.
 

Method Detail

getCountOfUses

int getCountOfUses()
Returns the number of times a ticket was used.

Returns:
the number of times the ticket was used.

getLastTimeUsed

long getLastTimeUsed()
Returns the last time the ticket was used.

Returns:
the last time the ticket was used.

getPreviousTimeUsed

long getPreviousTimeUsed()
Get the second to last time used.

Returns:
the previous time used.

getCreationTime

long getCreationTime()
Get the time the ticket was created.

Returns:
the creation time of the ticket.

getAuthentication

Authentication getAuthentication()
Authentication information from the ticket. This may be null.

Returns:
the authentication information.


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.