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

cn.antcore.security.session.SessionIdStrategy Maven / Gradle / Ivy

The newest version!
package cn.antcore.security.session;

import javax.servlet.http.HttpServletRequest;

/**
 * SessionId创建策略
 * 
*

Created by Hong.

*

2021/3/24

**/ public interface SessionIdStrategy { /** * 获取Session名字 * @return Session名字 */ String getSessionName(); /** * 获取请求的SessionId * @param request HttpServletRequest * @return SessionId */ String getSessionId(HttpServletRequest request); /** * 创建SessionId * @return SessionId * @param request */ String createSessionId(HttpServletRequest request); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy