![JAR search and dependency download from the Maven repository](/logo.png)
org.frameworkset.security.session.SignSessionIDGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bboss-security Show documentation
Show all versions of bboss-security Show documentation
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!
/**
*
*/
package org.frameworkset.security.session;
/**
* @author yinbp
*
* @Date:2016-12-22 14:54:31
*/
public interface SignSessionIDGenerator extends SessionIDGenerator{
/**
* 对sessionid进行签名
* paramenterSessionID 标识sessionID是否从参数传递过来,如果从参数传递过来则必须调用本方法,并且通过指定paramenterSessionID=true对sessionid进行加密签名,否则sessionid不起作用
* 如果显示指定sessionID必须加密签名或者paramenterSessionID为true,则会对sessionid进行加密签名
* @return
*/
String sign(String sessionid,boolean paramenterSessionID) throws SignSessionIDException;
/**
* 校验并还原签名的sessionid
* 如果显示指定sessionID必须加密签名或者paramenterSessionID为true,则会对sessionid进行解密
* @param signedSessionid
* @param paramenterSessionID 如果sessionid是从url请求参数传递过来时,paramenterSessionID为true,否则为false
* @return
*/
String design(String signedSessionid,boolean paramenterSessionID) throws SignSessionIDException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy