Package org.apache.shiro.session.mgt.eis
Class JavaUuidSessionIdGenerator
- java.lang.Object
-
- org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator
-
- All Implemented Interfaces:
SessionIdGenerator
public class JavaUuidSessionIdGenerator extends Object implements SessionIdGenerator
SessionIdGenerator
that generates String values of JDKUUID
's as the session IDs.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description JavaUuidSessionIdGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
generateId(Session session)
-
-
-
Method Detail
-
generateId
public Serializable generateId(Session session)
- Specified by:
generateId
in interfaceSessionIdGenerator
- Parameters:
session
- theSession
instance to which the ID will be applied.- Returns:
- the String value of the JDK's next
randomUUID()
.
-
-