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
An audit data element for an
AuthnRequest
.- Author:
- Martin Lindström
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of this data element.static Saml2AuthnRequestAuditData
Creates aSaml2AuthnRequestAuditData
given theAuthnRequest
and relay state.toString()
-
Constructor Details
-
Saml2AuthnRequestAuditData
public Saml2AuthnRequestAuditData()
-
-
Method Details
-
getName
Gets the name of this data element. The name should be in "kebab-case", i.e., "data-element".- Specified by:
getName
in classSaml2AuditData
- Returns:
- the audit data name
-
of
public static Saml2AuthnRequestAuditData of(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, String relayState) Creates aSaml2AuthnRequestAuditData
given theAuthnRequest
and relay state.- Parameters:
authnRequest
- theAuthnRequest
relayState
- the relay state (ornull
)- Returns:
- a
Saml2AuthnRequestAuditData
-
toString
-