All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.frameworkset.web.token.ValidateApplication Maven / Gradle / Ivy

Go to download

support session share between application cluster nodes and cross domain application nodes.support good application session monitor and session data statitic module.demo site http://session.bbossgroups.com/

The newest version!
/*
 *  Copyright 2008 bbossgroups
 *
 *  Licensed 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
 *
 *      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.frameworkset.web.token;

/**
 * 

Title: ValidateApplication.java

*

Description: 校验应用合法性,申请令牌和ticket时需要使用

*

bboss workgroup

*

Copyright (c) 2008

* @Date 2014年4月23日 * @author biaoping.yin * @version 3.8.0 */ public interface ValidateApplication { /** * 通过appid和secret校验应用是否有效 * @param appid * @param secret * @return * @throws TokenException * @Deprecated use Application validateApp(String appid,String secret) throws TokenException; */ @Deprecated public boolean checkApp(String appid,String secret) throws ValidateApplicationException; /** * 通过appid和secret校验应用是否有效,成功返回校验的Application对象,否则返回null * @param appid * @param secret * @return * @throws TokenException */ public AppValidateResult validateApp(String appid,String secret) throws ValidateApplicationException; /** * 获取应用信息 * @param appid * @return */ public Application getApplication(String appid) throws ValidateApplicationException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy