public final class TimeoutExpirationPolicy extends Object implements ExpirationPolicy, Serializable
The expiration policy defined by this class is one of inactivity. If you are inactive for the specified amount of time, the ticket will be expired.
| Constructor and Description |
|---|
TimeoutExpirationPolicy(long timeToKillInMilliSeconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpired(TicketState ticketState)
Method to determine if a Ticket has expired or not, based on the policy.
|
public TimeoutExpirationPolicy(long timeToKillInMilliSeconds)
public boolean isExpired(TicketState ticketState)
ExpirationPolicyisExpired in interface ExpirationPolicyticketState - The snapshot of the current ticket stateCopyright © 2004-2014 Jasig. All Rights Reserved.