Class LoginToContinue.Literal
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<LoginToContinue>
jakarta.security.enterprise.authentication.mechanism.http.LoginToContinue.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- LoginToContinue
public static final class LoginToContinue.Literal
extends AnnotationLiteral<LoginToContinue>
implements LoginToContinue
Supports inline instantiation of the LoginToContinue annotation.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.security.enterprise.authentication.mechanism.http.LoginToContinue
LoginToContinue.Literal
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LoginToContinue.Literal
Default instance of theLoginToContinue
Interceptor Binding. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginToContinue.Literal
of
(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage) Instance of theLoginToContinue
Interceptor Binding.boolean
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Field Details
-
INSTANCE
Default instance of theLoginToContinue
Interceptor Binding.
-
-
Method Details
-
of
public static LoginToContinue.Literal of(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage) Instance of theLoginToContinue
Interceptor Binding.- Parameters:
loginPage
- page a caller is directed to to authenticate (login)useForwardToLogin
- true if a forward is to be used, false for a redirectuseForwardToLoginExpression
- an expression evaluating to true if a forward is to be used, false for a redirecterrorPage
- page a caller is directed to after an authentication (login) error- Returns:
- instance of the
LoginToContinue
Interceptor Binding.
-
loginPage
-
useForwardToLogin
public boolean useForwardToLogin() -
useForwardToLoginExpression
-
errorPage
-