![JAR search and dependency download from the Maven repository](/logo.png)
org.frameworkset.security.session.SessionStore 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!
/*
* 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.security.session;
import java.util.Enumeration;
import java.util.Map;
import javax.servlet.ServletContext;
import org.frameworkset.security.session.impl.SessionManager;
import org.frameworkset.security.session.statics.SessionConfig;
/**
* Title: SessionStore.java
* Description:
* bboss workgroup
* Copyright (c) 2008
* @Date 2014年4月15日
* @author biaoping.yin
* @version 3.8.0
*/
public interface SessionStore{
void destory();
String getName();
Long expired(String appkey,String sessionid,int timeout);
void livecheck();
public SimpleHttpSession createHttpSession(SessionBasicInfo sessionBasicInfo,SessionBuilder invalidateCallback);
// Session createSession(String appKey,String referip,String reqesturi);
Session createSession(SessionBasicInfo sessionBasicInfo);
Object getAttribute(String appKey,String contextpath,String sessionID, String attribute,Session session);
Enumeration getAttributeNames(String appKey,String contextpath,String sessionID,Map localAttributes);
void updateLastAccessedTime(String appKey,String sessionID, long lastAccessedTime,String lastAccessedUrl,int MaxInactiveInterval);
long getLastAccessedTime(String appKey,String sessionID);
String[] getValueNames(String appKey,String contextpath,String sessionID,Map localAttributes);
void invalidate(SimpleHttpSession session,String appKey,String contextpath,String sessionID);
boolean isNew(String appKey,String sessionID);
void removeAttribute(SimpleHttpSession session,String appKey,String contextpath,String sessionID, String attribute);
void addAttribute(SimpleHttpSession session,String appKey,String contextpath,String sessionID, String attribute, Object value);
void setSessionManager(SessionManager sessionManager);
Session getSession(String appKey,String contextpath,String sessionid);
void setMaxInactiveInterval(SimpleHttpSession session, String appKey, String id, long maxInactiveInterval,String contextpath);
public void saveSessionConfig(SessionConfig config);
public SessionConfig getSessionConfig(String appkey);
void submit(Session session,String appkey);
public boolean uselazystore();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy