Class Saml2ResponseAuditData

java.lang.Object
se.swedenconnect.spring.saml.idp.audit.data.Saml2AuditData
se.swedenconnect.spring.saml.idp.audit.data.Saml2ResponseAuditData
All Implemented Interfaces:
Serializable

public class Saml2ResponseAuditData extends Saml2AuditData
Audit data representing a SAML response.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • Saml2ResponseAuditData

      public Saml2ResponseAuditData()
  • Method Details

    • getName

      public String getName()
      Gets the name of this data element. The name should be in "kebab-case", i.e., "data-element".
      Specified by:
      getName in class Saml2AuditData
      Returns:
      the audit data name
    • of

      public static Saml2ResponseAuditData of(org.opensaml.saml.saml2.core.Response response)
      Creates a Saml2ResponseAuditData given a Response object.
      Parameters:
      response - the SAML response
      Returns:
      a Saml2ResponseAuditData
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public String getId()
      The Response ID.
    • setId

      public void setId(String id)
      The Response ID.
    • getInResponseTo

      public String getInResponseTo()
      The ID matching the AuthnRequest ID.
    • setInResponseTo

      public void setInResponseTo(String inResponseTo)
      The ID matching the AuthnRequest ID.
    • getStatus

      The status.
    • setStatus

      public void setStatus(Saml2ResponseAuditData.SamlStatus status)
      The status.
    • getIssuedAt

      public Instant getIssuedAt()
      The response issuance time.
    • setIssuedAt

      public void setIssuedAt(Instant issuedAt)
      The response issuance time.
    • getDestination

      public String getDestination()
      The destination, i.e., where the response is being sent.
    • setDestination

      public void setDestination(String destination)
      The destination, i.e., where the response is being sent.
    • isSigned

      public boolean isSigned()
      Tells whether the response is signed.
    • setSigned

      public void setSigned(boolean signed)
      Tells whether the response is signed.