Class SimpleSessionFactory
java.lang.Object
org.apache.shiro.session.mgt.SimpleSessionFactory
- All Implemented Interfaces:
SessionFactory
SessionFactory implementation that generates SimpleSession instances.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(SessionContext initData) Creates a newSimpleSessioninstance retaining the context'shostif one can be found.
-
Constructor Details
-
SimpleSessionFactory
public SimpleSessionFactory()
-
-
Method Details
-
createSession
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
-