Package io.micronaut.session
Class DefaultSessionIdGenerator
java.lang.Object
io.micronaut.session.DefaultSessionIdGenerator
- All Implemented Interfaces:
SessionIdGenerator
@Singleton
@Primary
public class DefaultSessionIdGenerator
extends Object
implements SessionIdGenerator
Default session ID generator that uses
UUID
.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultSessionIdGenerator
public DefaultSessionIdGenerator()
-
-
Method Details
-
generateId
- Specified by:
generateId
in interfaceSessionIdGenerator
- Returns:
- The generated ID
-