Package org.apache.shiro.session.mgt.eis
Class JavaUuidSessionIdGenerator
-
- org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator
-
- All Implemented Interfaces:
SessionIdGenerator
public class JavaUuidSessionIdGenerator extends implements SessionIdGenerator
'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 generateId(Session session)
Ignores the method argument and simply returnsUUID
..toString()
.
-
-
-
Method Detail
-
generateId
public generateId(Session session)
Ignores the method argument and simply returnsUUID
..toString()
.- 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 .
-
-