RedirectConfigurationProperties
instead.@Deprecated @ConfigurationProperties(value="micronaut.security.session") public class SecuritySessionConfigurationProperties extends java.lang.Object implements SecuritySessionConfiguration
SecuritySessionConfiguration
. Session-based Authentication configuration properties.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
Deprecated.
The default enable value.
|
static java.lang.String |
PREFIX
Deprecated.
|
Constructor and Description |
---|
SecuritySessionConfigurationProperties(io.micronaut.core.value.PropertyResolver propertyResolver,
RedirectConfigurationProperties redirectConfigurationProperties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getForbiddenTargetUrl()
Deprecated.
|
java.lang.String |
getLoginFailureTargetUrl()
Deprecated.
|
java.lang.String |
getLoginSuccessTargetUrl()
Deprecated.
|
java.lang.String |
getLogoutTargetUrl()
Deprecated.
|
java.lang.String |
getUnauthorizedTargetUrl()
Deprecated.
|
boolean |
isEnabled()
Deprecated.
|
boolean |
isRedirectOnRejection()
Deprecated.
|
void |
setEnabled(boolean enabled)
Deprecated.
|
void |
setForbiddenTargetUrl(java.lang.String forbiddenTargetUrl)
Deprecated.
|
void |
setLoginFailureTargetUrl(java.lang.String loginFailureTargetUrl)
Deprecated.
|
void |
setLoginSuccessTargetUrl(java.lang.String loginSuccessTargetUrl)
Deprecated.
|
void |
setLogoutTargetUrl(java.lang.String logoutTargetUrl)
Deprecated.
use
micronaut.security.redirect.logout . |
void |
setRedirectOnRejection(boolean redirectOnRejection)
Deprecated.
|
void |
setUnauthorizedTargetUrl(java.lang.String unauthorizedTargetUrl)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toRedirectConfiguration
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public SecuritySessionConfigurationProperties(io.micronaut.core.value.PropertyResolver propertyResolver, RedirectConfigurationProperties redirectConfigurationProperties)
propertyResolver
- Property resolversredirectConfigurationProperties
- Redirect configurationpublic boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
@Deprecated public java.lang.String getLoginSuccessTargetUrl()
getLoginSuccessTargetUrl
in interface SecuritySessionConfiguration
@Deprecated public java.lang.String getLogoutTargetUrl()
getLogoutTargetUrl
in interface SecuritySessionConfiguration
@Deprecated public java.lang.String getLoginFailureTargetUrl()
getLoginFailureTargetUrl
in interface SecuritySessionConfiguration
@Deprecated public java.lang.String getUnauthorizedTargetUrl()
getUnauthorizedTargetUrl
in interface SecuritySessionConfiguration
@Deprecated public java.lang.String getForbiddenTargetUrl()
getForbiddenTargetUrl
in interface SecuritySessionConfiguration
@Deprecated public void setLoginSuccessTargetUrl(java.lang.String loginSuccessTargetUrl)
loginSuccessTargetUrl
- The URL@Deprecated public void setLoginFailureTargetUrl(java.lang.String loginFailureTargetUrl)
loginFailureTargetUrl
- The URL@Deprecated public void setLogoutTargetUrl(java.lang.String logoutTargetUrl)
micronaut.security.redirect.logout
.logoutTargetUrl
- The URL@Deprecated public void setUnauthorizedTargetUrl(java.lang.String unauthorizedTargetUrl)
micronaut.security.redirect.unauthorized
.unauthorizedTargetUrl
- The URL@Deprecated public void setForbiddenTargetUrl(java.lang.String forbiddenTargetUrl)
micronaut.security.redirect.forbidden
.forbiddenTargetUrl
- The URL@Deprecated public void setEnabled(boolean enabled)
enabled
- True if it is enabled@Deprecated public boolean isRedirectOnRejection()
isRedirectOnRejection
in interface SecuritySessionConfiguration
@Deprecated public void setRedirectOnRejection(boolean redirectOnRejection)
redirectOnRejection
- True if a redirect should occur