• 大小: 12.13MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-05
  • 语言: Java
  • 标签: cas  sso  client端  

资源简介

cas 单点登录3.3.3 客户端代码 jar 文件及源码

资源截图

代码片段和文件信息

/*
 * Licensed to Jasig under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Jasig licenses this file to you under the Apache License
 * Version 2.0 (the “License“); you may not use this file
 * except in compliance with the License.  You may obtain a
 * copy of the License at the following location:
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing
 * software distributed under the License is distributed on an
 * “AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.jasig.cas.client.authentication;

import java.io.Serializable;
import java.security.Principal;
import java.util.Map;

/**
 * Extension to the standard Java Principal that includes a way to retrieve proxy tickets for a particular user
 * and attributes.
 * 


 * Developer‘s who don‘t want their code tied to CAS merely need to work with the Java Principal then.  Working with
 * the CAS-specific features requires knowledge of the AttributePrincipal class.
 *
 * @author Scott Battaglia
 * @version $Revision$ $Date$
 * @since 3.1
 */
public interface AttributePrincipal extends Principal Serializable {

    /**
     * Retrieves a CAS proxy ticket for this specific principal.
     *
     * @param service the service we wish to proxy this user to.
     * @return a String representing the proxy ticket.
     */
    String getProxyTicketFor(String service);

    /**
     * The Map of key/value pairs associated with this principal.
     * @return the map of key/value pairs associated with this principal.
     */
    Mapject> getAttributes();

}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-09-09 23:46  cas-client-3.3.3\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\org\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\org\jasig\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\org\jasig\cas\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\org\jasig\cas\client\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\main\java\org\jasig\cas\client\proxy\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\test\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-support-distributed-ehcache\src\test\java\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\jasig\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\jasig\cas\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\jasig\cas\client\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\jasig\cas\client\tomcat\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-v6\src\main\java\org\jasig\cas\client\tomcat\v6\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\org\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\org\jasig\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\org\jasig\cas\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\org\jasig\cas\client\
     目录           0  2014-09-09 23:46  cas-client-3.3.3\cas-client-integration-tomcat-common\src\main\java\org\jasig\cas\client\tomcat\
............此处省略268个文件信息

评论

共有 条评论