Module jakarta.security
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
FieldsModifier and TypeFieldDescriptionstatic final LoginToContinue.LiteralDefault instance of theLoginToContinueInterceptor Binding. - 
Method Summary
Modifier and TypeMethodDescriptionstatic LoginToContinue.Literalof(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage) Instance of theLoginToContinueInterceptor Binding.booleanMethods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString 
- 
Field Details
- 
INSTANCE
Default instance of theLoginToContinueInterceptor Binding. 
 - 
 - 
Method Details
- 
of
public static LoginToContinue.Literal of(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage) Instance of theLoginToContinueInterceptor 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 
LoginToContinueInterceptor Binding. 
 - 
loginPage
 - 
useForwardToLogin
public boolean useForwardToLogin() - 
useForwardToLoginExpression
 - 
errorPage
 
 -