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:
  • Field Details

  • Method Details

    • of

      public static LoginToContinue.Literal of(String loginPage, boolean useForwardToLogin, String useForwardToLoginExpression, String errorPage)
      Instance of the LoginToContinue 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 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 LoginToContinue Interceptor Binding.
    • loginPage

      public String loginPage()
    • useForwardToLogin

      public boolean useForwardToLogin()
    • useForwardToLoginExpression

      public String useForwardToLoginExpression()
    • errorPage

      public String errorPage()