Class ErrorPage

java.lang.Object
org.keycloak.services.ErrorPage

public class ErrorPage extends Object
Author:
Stian Thorgersen
  • Constructor Details

    • ErrorPage

      public ErrorPage()
  • Method Details

    • error

      public static jakarta.ws.rs.core.Response error(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters)
      Builds an error page response and marks the current transaction for rollback.

      Any state changes that must persist despite the error should be committed in a separate transaction before calling this method.