org.jasig.cas.ticket
Interface ExpirationPolicy

All Superinterfaces:
Serializable
All Known Implementing Classes:
HardTimeoutExpirationPolicy, MultiTimeUseOrTimeoutExpirationPolicy, NeverExpiresExpirationPolicy, RememberMeDelegatingExpirationPolicy, ThrottledUseAndTimeoutExpirationPolicy, TicketGrantingTicketExpirationPolicy, TimeoutExpirationPolicy

public interface ExpirationPolicy
extends 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$ $Date$
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-2012 Jasig. All Rights Reserved.