Interface ResponseProcessingResult

All Known Implementing Classes:
ResponseProcessingResultImpl

public interface ResponseProcessingResult
Interface that describes the result of a response processing operation. It contains the actual Response and Assertion objects that really holds all information, but also "easy to access" methods of the elements that are of most interest.

Note that only successful responses are represented. Error responses are represented using the ResponseStatusErrorException.

Author:
Martin Lindström (martin@idsec.se)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensaml.saml.saml2.core.Assertion
    Gets the Assertion from the response.
    List<org.opensaml.saml.saml2.core.Attribute>
    Gets the attributes that are part of the attribute statement of the assertion.
    Gets the URI for the AuthnContextClassRef element that holds the "level of assurance" under which the authentication was made.
    Gets the authentication instant.
    Gets the InResponseTo attribute from the response that was processed.
    Gets the issuance instant of the response.
    Gets the entityID of the issuing IdP.
    org.opensaml.saml.saml2.core.Response
    Gets the actual Response object.
    Gets the ID of the Response message that was processed.
    org.opensaml.saml.saml2.core.NameID
    Gets the NameID for the subject.
  • Method Details

    • getResponseId

      String getResponseId()
      Gets the ID of the Response message that was processed.
      Returns:
      ID of response
    • getInResponseTo

      String getInResponseTo()
      Gets the InResponseTo attribute from the response that was processed.
      Returns:
      the InResponseTo attribute from the response
    • getIssueInstant

      Instant getIssueInstant()
      Gets the issuance instant of the response.
      Returns:
      issue instant
    • getResponse

      org.opensaml.saml.saml2.core.Response getResponse()
      Gets the actual Response object.
      Returns:
      the Response
    • getAssertion

      org.opensaml.saml.saml2.core.Assertion getAssertion()
      Gets the Assertion from the response.
      Returns:
      the Assertion
    • getAttributes

      List<org.opensaml.saml.saml2.core.Attribute> getAttributes()
      Gets the attributes that are part of the attribute statement of the assertion.
      Returns:
      an (unmodifiable) list of attributes
    • getAuthnContextClassUri

      String getAuthnContextClassUri()
      Gets the URI for the AuthnContextClassRef element that holds the "level of assurance" under which the authentication was made.
      Returns:
      LoA URI
    • getAuthnInstant

      Instant getAuthnInstant()
      Gets the authentication instant.
      Returns:
      the instant at which the user authenticated
    • getIssuer

      String getIssuer()
      Gets the entityID of the issuing IdP.
      Returns:
      entityID for the IdP
    • getSubjectNameID

      org.opensaml.saml.saml2.core.NameID getSubjectNameID()
      Gets the NameID for the subject.
      Returns:
      the nameID