public static final class LoginToContinue.Literal extends AnnotationLiteral<LoginToContinue> implements LoginToContinue
LoginToContinue.Literal
Modifier and Type | Field and Description |
---|---|
static LoginToContinue.Literal |
INSTANCE
Default instance of the
LoginToContinue Interceptor Binding. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
errorPage() |
java.lang.String |
loginPage() |
static LoginToContinue.Literal |
of(java.lang.String loginPage,
boolean useForwardToLogin,
java.lang.String useForwardToLoginExpression,
java.lang.String errorPage)
Instance of the
LoginToContinue Interceptor Binding. |
boolean |
useForwardToLogin() |
java.lang.String |
useForwardToLoginExpression() |
annotationType, equals, hashCode, toString
public static final LoginToContinue.Literal INSTANCE
LoginToContinue
Interceptor Binding.public static LoginToContinue.Literal of(java.lang.String loginPage, boolean useForwardToLogin, java.lang.String useForwardToLoginExpression, java.lang.String errorPage)
LoginToContinue
Interceptor Binding.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) errorLoginToContinue
Interceptor Binding.public java.lang.String loginPage()
public boolean useForwardToLogin()
public java.lang.String useForwardToLoginExpression()
public java.lang.String errorPage()