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
SessionFactory
implementation that generatesSimpleSession
instances.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description SimpleSessionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
createSession(SessionContext initData)
Creates a newSimpleSession
instance retaining the context'shost
if one can be found.
-
-
-
Method Detail
-
createSession
public Session createSession(SessionContext initData)
Creates a newSimpleSession
instance retaining the context'shost
if one can be found.- Specified by:
createSession
in interfaceSessionFactory
- Parameters:
initData
- the initialization data to be used duringSession
creation.- Returns:
- a new
SimpleSession
instance
-
-