Package org.keycloak.services
Class ErrorPage
java.lang.Object
org.keycloak.services.ErrorPage
- Author:
- Stian Thorgersen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Responseerror(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.
-
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.
-