Class Saml2UserAuthenticationInfoAuditData
java.lang.Object
se.swedenconnect.spring.saml.idp.audit.data.Saml2AuditData
se.swedenconnect.spring.saml.idp.audit.data.Saml2UserAuthenticationInfoAuditData
- All Implemented Interfaces:
Serializable
Audit data including information about the user authentication.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
If the current authentication object is being re-used, i.e., if SSO was applied, this object holds information about the instance when the user was authenticated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of this data element.of
(Saml2UserAuthentication token, boolean signServicePeer) Creates aSaml2UserAuthenticationInfoAuditData
based on the suppliedSaml2UserAuthentication
token.toString()
-
Constructor Details
-
Saml2UserAuthenticationInfoAuditData
public Saml2UserAuthenticationInfoAuditData()
-
-
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 Saml2UserAuthenticationInfoAuditData of(Saml2UserAuthentication token, boolean signServicePeer) Creates aSaml2UserAuthenticationInfoAuditData
based on the suppliedSaml2UserAuthentication
token.- Parameters:
token
- aSaml2UserAuthentication
objectsignServicePeer
- if the peer is a sign service- Returns:
- a
Saml2UserAuthenticationInfoAuditData
-
toString
-