Class RememberMe.Literal
- java.lang.Object
- 
- jakarta.enterprise.util.AnnotationLiteral<RememberMe>
- 
- jakarta.security.enterprise.authentication.mechanism.http.RememberMe.Literal
 
 
- 
- All Implemented Interfaces:
- Annotation
 - Enclosing class:
- RememberMe
 
 public static final class RememberMe.Literal extends AnnotationLiteral<RememberMe> implements RememberMe Supports inline instantiation of the RememberMe annotation.- Since:
- 3.0
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jakarta.security.enterprise.authentication.mechanism.http.RememberMeRememberMe.Literal
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static RememberMe.LiteralINSTANCEDefault instance of theRememberMeInterceptor Binding.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancookieHttpOnly()StringcookieHttpOnlyExpression()intcookieMaxAgeSeconds()StringcookieMaxAgeSecondsExpression()StringcookieName()booleancookieSecureOnly()StringcookieSecureOnlyExpression()booleanisRememberMe()StringisRememberMeExpression()static RememberMe.Literalof(int cookieMaxAgeSeconds, String cookieMaxAgeSecondsExpression, boolean cookieSecureOnly, String cookieSecureOnlyExpression, boolean cookieHttpOnly, String cookieHttpOnlyExpression, String cookieName, boolean isRememberMe, String isRememberMeExpression)Instance of theRememberMeInterceptor Binding.- 
Methods inherited from class jakarta.enterprise.util.AnnotationLiteralannotationType, equals, hashCode, toString
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.annotation.AnnotationannotationType, equals, hashCode, toString
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final RememberMe.Literal INSTANCE Default instance of theRememberMeInterceptor Binding.
 
- 
 - 
Method Detail- 
ofpublic static RememberMe.Literal of(int cookieMaxAgeSeconds, String cookieMaxAgeSecondsExpression, boolean cookieSecureOnly, String cookieSecureOnlyExpression, boolean cookieHttpOnly, String cookieHttpOnlyExpression, String cookieName, boolean isRememberMe, String isRememberMeExpression) Instance of theRememberMeInterceptor Binding.- Parameters:
- 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 protocol
- cookieSecureOnlyExpression- Jakarta Expression Language expression variant of- cookieSecureOnly
- cookieHttpOnly- true if the cookie should be sent only with HTTP requests
- cookieHttpOnlyExpression- 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
- Returns:
- instance of the RememberMeInterceptor Binding
 
 - 
cookieHttpOnlypublic boolean cookieHttpOnly() 
 - 
cookieHttpOnlyExpressionpublic String cookieHttpOnlyExpression() 
 - 
cookieMaxAgeSecondspublic int cookieMaxAgeSeconds() 
 - 
cookieMaxAgeSecondsExpressionpublic String cookieMaxAgeSecondsExpression() 
 - 
cookieSecureOnlypublic boolean cookieSecureOnly() 
 - 
cookieSecureOnlyExpressionpublic String cookieSecureOnlyExpression() 
 - 
cookieNamepublic String cookieName() 
 - 
isRememberMepublic boolean isRememberMe() 
 - 
isRememberMeExpressionpublic String isRememberMeExpression() 
 
- 
 
-