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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name of this data element.static Saml2AuthnRequestAuditDataof(AuthnRequest authnRequest, String relayState) Creates aSaml2AuthnRequestAuditDatagiven theAuthnRequestand 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:
getNamein classSaml2AuditData- Returns:
- the audit data name
-
of
Creates aSaml2AuthnRequestAuditDatagiven theAuthnRequestand relay state.- Parameters:
authnRequest- theAuthnRequestrelayState- the relay state (ornull)- Returns:
- a
Saml2AuthnRequestAuditData
-
toString
-