public static final class RememberMe.Literal extends AnnotationLiteral<RememberMe> implements RememberMe
RememberMe.Literal
Modifier and Type | Field and Description |
---|---|
static RememberMe.Literal |
INSTANCE
Default instance of the
RememberMe Interceptor Binding. |
Modifier and Type | Method and Description |
---|---|
boolean |
cookieHttpOnly() |
java.lang.String |
cookieHttpOnlyExpression() |
int |
cookieMaxAgeSeconds() |
java.lang.String |
cookieMaxAgeSecondsExpression() |
java.lang.String |
cookieName() |
boolean |
cookieSecureOnly() |
java.lang.String |
cookieSecureOnlyExpression() |
boolean |
isRememberMe() |
java.lang.String |
isRememberMeExpression() |
static RememberMe.Literal |
of(int cookieMaxAgeSeconds,
java.lang.String cookieMaxAgeSecondsExpression,
boolean cookieSecureOnly,
java.lang.String cookieSecureOnlyExpression,
boolean cookieHttpOnly,
java.lang.String cookieHttpOnlyExpression,
java.lang.String cookieName,
boolean isRememberMe,
java.lang.String isRememberMeExpression)
Instance of the
RememberMe Interceptor Binding. |
annotationType, equals, hashCode, toString
public static final RememberMe.Literal INSTANCE
RememberMe
Interceptor Binding.public static RememberMe.Literal of(int cookieMaxAgeSeconds, java.lang.String cookieMaxAgeSecondsExpression, boolean cookieSecureOnly, java.lang.String cookieSecureOnlyExpression, boolean cookieHttpOnly, java.lang.String cookieHttpOnlyExpression, java.lang.String cookieName, boolean isRememberMe, java.lang.String isRememberMeExpression)
RememberMe
Interceptor Binding.cookieMaxAgeSeconds
- Max age in seconds for the remember me cookie.cookieMaxAgeSecondsExpression
- Jakarta Expression Language expression variant of cookieMaxAgeSeconds
cookieSecureOnly
- Flag to indicate that the remember me cookie should only be sent using a secure protocolcookieSecureOnlyExpression
- Jakarta Expression Language expression variant of cookieSecureOnly
cookieHttpOnly
- true if the cookie should be sent only with HTTP requestscookieHttpOnlyExpression
- Jakarta Expression Language expression variant of cookieHttpOnly
cookieName
- Name of the remember me cookie.isRememberMe
- Flag to determine if remember me should be used.isRememberMeExpression
- Jakarta Expression Language expression variant of isRememberMe
RememberMe
Interceptor Bindingpublic boolean cookieHttpOnly()
public java.lang.String cookieHttpOnlyExpression()
public int cookieMaxAgeSeconds()
public java.lang.String cookieMaxAgeSecondsExpression()
public boolean cookieSecureOnly()
public java.lang.String cookieSecureOnlyExpression()
public java.lang.String cookieName()
public boolean isRememberMe()
public java.lang.String isRememberMeExpression()