Class Saml2AuthnRequestAuditData

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

public class Saml2AuthnRequestAuditData extends Saml2AuditData
An audit data element for an AuthnRequest.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • Saml2AuthnRequestAuditData

      public Saml2AuthnRequestAuditData()
  • 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 Saml2AuthnRequestAuditData of(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, String relayState)
      Creates a Saml2AuthnRequestAuditData given the AuthnRequest and relay state.
      Parameters:
      authnRequest - the AuthnRequest
      relayState - the relay state (or null)
      Returns:
      a Saml2AuthnRequestAuditData
    • toString

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

      public String getId()
      The AuthnRequest ID.
    • setId

      public void setId(String id)
      The AuthnRequest ID.
    • getIssuer

      public String getIssuer()
      The issuer of the AuthnRequest.
    • setIssuer

      public void setIssuer(String issuer)
      The issuer of the AuthnRequest.
    • getAuthnContextClassRefs

      public List<String> getAuthnContextClassRefs()
      Listing of requested "LoA:s".
    • setAuthnContextClassRefs

      public void setAuthnContextClassRefs(List<String> authnContextClassRefs)
      Listing of requested "LoA:s".
    • isForceAuthn

      public boolean isForceAuthn()
      Is "force authn" requested?
    • setForceAuthn

      public void setForceAuthn(boolean forceAuthn)
      Is "force authn" requested?
    • isPassive

      public boolean isPassive()
      Is passive authentication requested?
    • setPassive

      public void setPassive(boolean passive)
      Is passive authentication requested?
    • getRelayState

      public String getRelayState()
      The relay state.
    • setRelayState

      public void setRelayState(String relayState)
      The relay state.