Class BuildRegistrationErrorResponseFromEvent

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class BuildRegistrationErrorResponseFromEvent extends AbstractBuildErrorResponseFromEvent<com.nimbusds.oauth2.sdk.client.ClientRegistrationErrorResponse,RegistrationErrorObjectMapping>
This action reads an event from the configured EventContext lookup strategy, constructs an OIDC client registration error response message and attaches it as the outbound message.
  • Constructor Details

  • Method Details

    • buildErrorResponse

      protected com.nimbusds.oauth2.sdk.client.ClientRegistrationErrorResponse buildErrorResponse(com.nimbusds.oauth2.sdk.ErrorObject error, ProfileRequestContext profileRequestContext)
      Method implemented by the extending class to create ErrorResponse.
      Specified by:
      buildErrorResponse in class AbstractBuildErrorResponseFromEvent<com.nimbusds.oauth2.sdk.client.ClientRegistrationErrorResponse,RegistrationErrorObjectMapping>
      Parameters:
      error - error object to build the response from.
      profileRequestContext - profile request context.
      Returns:
      ErrorResponse