Package org.apache.shiro.session.mgt
Class SimpleSessionFactory
- java.lang.Object
-
- org.apache.shiro.session.mgt.SimpleSessionFactory
-
- All Implemented Interfaces:
SessionFactory
public class SimpleSessionFactory extends Object implements SessionFactory
SessionFactoryimplementation that generatesSimpleSessioninstances.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description SimpleSessionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessioncreateSession(SessionContext initData)Creates a newSimpleSessioninstance retaining the context'shostif one can be found.
-
-
-
Method Detail
-
createSession
public Session createSession(SessionContext initData)
Creates a newSimpleSessioninstance retaining the context'shostif one can be found.- Specified by:
createSessionin interfaceSessionFactory- Parameters:
initData- the initialization data to be used duringSessioncreation.- Returns:
- a new
SimpleSessioninstance
-
-