ticketstate.java

来自「CAS在Tomcat中实现单点登录项目,单点登录(Single Sign On 」· Java 代码 · 共 53 行

JAVA
53
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?