|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jasig.cas.ticket.support.MultiTimeUseOrTimeoutExpirationPolicy
ExpirationPolicy that is based on certain number of uses of a ticket or a certain time period for a ticket to exist.
Constructor Summary | |
MultiTimeUseOrTimeoutExpirationPolicy(int numberOfUses,
long timeToKillInMilliSeconds)
|
Method Summary | |
boolean |
isExpired(Ticket ticket)
Method to determine if a Ticket has expired or not, based on the policy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiTimeUseOrTimeoutExpirationPolicy(int numberOfUses, long timeToKillInMilliSeconds)
Method Detail |
public boolean isExpired(Ticket ticket)
ExpirationPolicy
isExpired
in interface ExpirationPolicy
ticket
- The ticket to check.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |