io.higgs.http.server.auth.HiggsSessionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-s3 Show documentation
Show all versions of http-s3 Show documentation
Higgs HTTP S3 (Single Site Server)
package io.higgs.http.server.auth;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.mgt.SessionContext;
import org.apache.shiro.session.mgt.SessionFactory;
import org.apache.shiro.session.mgt.SimpleSessionFactory;
/**
* @author Courtney Robinson
*/
public class HiggsSessionFactory extends SimpleSessionFactory implements SessionFactory {
public Session createSession(SessionContext initData) {
if (initData.getSessionId() != null) {
return new HiggsSession(initData.getSessionId());
}
return super.createSession(initData);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy