Class JavaUuidSessionIdGenerator
java.lang.Object
org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator
- All Implemented Interfaces:
SessionIdGenerator
SessionIdGenerator that generates String values of JDK UUID's as the session IDs.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaUuidSessionIdGenerator
public JavaUuidSessionIdGenerator()
-
-
Method Details
-
generateId
- Specified by:
generateIdin interfaceSessionIdGenerator- Parameters:
session- theSessioninstance to which the ID will be applied.- Returns:
- the String value of the JDK's next
randomUUID().
-