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:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jakarta.security.enterprise.authentication.mechanism.http.LoginToContinueLoginToContinue.Literal
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static LoginToContinue.LiteralINSTANCEDefault instance of theLoginToContinueInterceptor Binding.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringerrorPage()StringloginPage()static LoginToContinue.Literalof(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage)Instance of theLoginToContinueInterceptor Binding.booleanuseForwardToLogin()StringuseForwardToLoginExpression()- 
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 LoginToContinue.Literal INSTANCE Default instance of theLoginToContinueInterceptor Binding.
 
- 
 - 
Method Detail- 
ofpublic 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 redirect
- useForwardToLoginExpression- an expression evaluating to true if a forward is to be used, false for a redirect
- errorPage- page a caller is directed to after an authentication (login) error
- Returns:
- instance of the LoginToContinueInterceptor Binding.
 
 - 
loginPagepublic String loginPage() 
 - 
useForwardToLoginpublic boolean useForwardToLogin() 
 - 
useForwardToLoginExpressionpublic String useForwardToLoginExpression() 
 - 
errorPagepublic String errorPage() 
 
- 
 
-