Class Saml2ErrorResponseEvent

All Implemented Interfaces:
Serializable

public class Saml2ErrorResponseEvent extends AbstractSaml2IdpEvent
An event that signals that a SAML error response is being sent.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • Saml2ErrorResponseEvent

      public Saml2ErrorResponseEvent(org.opensaml.saml.saml2.core.Response response, String spEntityId)
      Constructor.
      Parameters:
      response - the SAML response
      spEntityId - the entityID of the SP that we are sending the response to
  • Method Details

    • getResponse

      public org.opensaml.saml.saml2.core.Response getResponse()
      Gets the SAML response.
      Returns:
      the Response
    • getSpEntityId

      public String getSpEntityId()
      Gets the entityID of the SP that we are sending the response to.
      Returns:
      SP SAML entityID
    • getStatus

      public org.opensaml.saml.saml2.core.Status getStatus()
      Gets the SAML Status that was sent.
      Returns:
      SAML Status