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

org.paranora.ssoc.shiro.session.BasicShiroSessionStore Maven / Gradle / Ivy

package org.paranora.ssoc.shiro.session;

import io.buji.pac4j.context.ShiroSessionStore;
import org.apache.shiro.session.Session;

/**
 * The type Basic shiro session store.
 */
public class BasicShiroSessionStore extends ShiroSessionStore {

    /**存储的TrackableSession,往后要操作时用这个session操作*/
    private Session session;

    /**
     * Instantiates a new Basic shiro session store.
     *
     * @param session the session
     */
    public BasicShiroSessionStore(Session session) {
        this.session = session;
    }

    @Override
    protected Session getSession(final boolean createSession) {
        return session;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy