We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Configuration @Requires(property = SecuritySessionConfigurationProperties.PREFIX + ".enabled", notEquals = StringUtils.FALSE) package io.micronaut.security.session;
If someone moves to the new config and sets authentication = cookie, with security-session on the classpath, session related beans will still override
authentication = cookie
The text was updated successfully, but these errors were encountered:
Not sure if I am understand.
If you have both security-jwt and security-session.
security-jwt
security-session
If you have micronaut.micronaut.authentication: cookie'.
micronaut.micronaut.authentication: cookie'
SecuritySessionLoginHandler will not be loaded because the class will be annotated with @Requires(property = SecurityConfigurationProperties.PREFIX + ".authentication", value = "session")
SecuritySessionLoginHandler
@Requires(property = SecurityConfigurationProperties.PREFIX + ".authentication", value = "session")
Please, not that for authentication: cookie to work you need security-jwt module.
authentication: cookie
The @Configuration you mention will disable every session bean if you want that.
@Configuration
Sorry, something went wrong.
jameskleeh
No branches or pull requests
If someone moves to the new config and sets
authentication = cookie
, with security-session on the classpath, session related beans will still overrideThe text was updated successfully, but these errors were encountered: