org.jasig.cas.ticket
Interface ExpirationPolicy

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
HardTimeoutExpirationPolicy, MultiTimeUseOrTimeoutExpirationPolicy, NeverExpiresExpirationPolicy, RememberMeDelegatingExpirationPolicy, ThrottledUseAndTimeoutExpirationPolicy, TimeoutExpirationPolicy

public interface ExpirationPolicy
extends java.io.Serializable

Strategy that determines if the ticket is expired. Implementations of the Expiration Policy define their own rules on what they consider an expired Ticket to be.

Since:
3.0

This is a published and supported CAS Server 3 API.

Version:
$Revision: 42053 $ $Date: 2007-06-10 09:17:55 -0400 (Sun, 10 Jun 2007) $
Author:
Scott Battaglia
See Also:
Ticket

Method Summary
 boolean isExpired(TicketState ticketState)
          Method to determine if a Ticket has expired or not, based on the policy.
 

Method Detail

isExpired

boolean isExpired(TicketState ticketState)
Method to determine if a Ticket has expired or not, based on the policy.

Parameters:
ticketState - The snapshot of the current ticket state
Returns:
true if the ticket is expired, false otherwise.


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