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.LoginToContinue
LoginToContinue.Literal
-
-
Field Summary
Fields Modifier and Type Field Description static LoginToContinue.Literal
INSTANCE
Default instance of theLoginToContinue
Interceptor Binding.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorPage()
String
loginPage()
static LoginToContinue.Literal
of(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage)
Instance of theLoginToContinue
Interceptor Binding.boolean
useForwardToLogin()
String
useForwardToLoginExpression()
-
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final LoginToContinue.Literal INSTANCE
Default instance of theLoginToContinue
Interceptor Binding.
-
-
Method Detail
-
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
public String loginPage()
-
useForwardToLogin
public boolean useForwardToLogin()
-
useForwardToLoginExpression
public String useForwardToLoginExpression()
-
errorPage
public String errorPage()
-
-