📄 ticketstate.java
字号:
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */package org.jasig.cas.ticket;import org.jasig.cas.authentication.Authentication;/** * @author Scott Battaglia * @version $Revision: 42067 $ $Date: 2007-06-12 15:55:40 -0400 (Tue, 12 Jun 2007) $ * @since 3.0.5 */public interface TicketState { /** * Returns the number of times a ticket was used. * * @return the number of times the ticket was used. */ int getCountOfUses(); /** * Returns the last time the ticket was used. * * @return the last time the ticket was used. */ long getLastTimeUsed(); /** * Get the second to last time used. * * @return the previous time used. */ long getPreviousTimeUsed(); /** * Get the time the ticket was created. * * @return the creation time of the ticket. */ long getCreationTime(); /** * Authentication information from the ticket. This may be null. * * @return the authentication information. */ Authentication getAuthentication();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -