Class Saml2SuccessResponseEvent

All Implemented Interfaces:
Serializable

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

    • Saml2SuccessResponseEvent

      public Saml2SuccessResponseEvent(org.opensaml.saml.saml2.core.Response response, org.opensaml.saml.saml2.core.Assertion assertion, String spEntityId)
      Constructor.
      Parameters:
      response - the SAML response
      assertion - the SAML Assertion (before being encrypted)
      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
    • getAssertion

      public org.opensaml.saml.saml2.core.Assertion getAssertion()
      Gets the (un-encrypted) SAML Assertion
      Returns:
      an Assertion
    • getSpEntityId

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