Configuration Reference

Version:4.5.0

Micronaut Session Config Properties

🔗
Table 1. Configuration Properties for HttpSessionConfiguration
Property Type Description

micronaut.session.http.base64-encode

boolean

micronaut.session.http.cookie-name

java.lang.String

micronaut.session.http.prefix

java.lang.String

micronaut.session.http.header-names

java.lang.String

micronaut.session.http.cookie-path

java.lang.String

micronaut.session.http.domain-name

java.lang.String

micronaut.session.http.cookie-domain

java.lang.String

Set the domain name to use for the cookie

micronaut.session.http.cookie-max-age

java.time.temporal.TemporalAmount

micronaut.session.http.remember-me

boolean

micronaut.session.http.cookie-secure

java.lang.Boolean

micronaut.session.http.cookie-same-site

SameSite

🔗
Table 2. Configuration Properties for SessionConfiguration
Property Type Description

micronaut.session.max-active-sessions

java.lang.Integer

micronaut.session.max-inactive-interval

java.time.Duration

micronaut.session.prompt-expiration

boolean