Class AuditData
Object
se.curity.identityserver.sdk.data.AuditData
- All Implemented Interfaces:
SerializableAsMap
Data class containing audit data.
- Since:
- 2.2.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionasMap()getAcr()Get the ACR of the authenticated subject.get the authenticated client triggering the event.Get the authenticated subject triggering the event or the original authenticated subject affected by the event.Get the ID of the client affected by the event.Get the verifier type used for client authentication.Get the endpoint that was called to trigger the event.getId()Get the unique ID of the audit event.Get the instant that the audited action that triggered the event occurred.Get the human readable audit message describing the event.Get the Id of the resource affected by the event.Get the session ID on which the event was triggered.Get the subject affected by the event.getType()Get the type of the audit event.Get boolean with information if a secondary verifier was used for client authentication.toString()
-
Method Details
-
getType
Get the type of the audit event.- Returns:
- the audit event type
-
getId
Get the unique ID of the audit event.- Returns:
- the audit event ID
-
getInstant
Get the instant that the audited action that triggered the event occurred.- Returns:
- the instant of the audit event
-
getMessage
Get the human readable audit message describing the event.- Returns:
- the audit message
-
getSubject
Get the subject affected by the event. For token events, this value may be the pseudo-anonymization of the original subject value.- Returns:
- the affected subject
-
getClient
Get the ID of the client affected by the event.- Returns:
- the affected client
-
getResource
Get the Id of the resource affected by the event.- Returns:
- the affected resource
-
getAuthenticatedSubject
Get the authenticated subject triggering the event or the original authenticated subject affected by the event. Since version 9.0, for userinfo and token events, this property always returns the original authenticated subject, previous to any pseudo-anonymization.- Returns:
- the authenticated subject
-
getAuthenticatedClient
get the authenticated client triggering the event.- Returns:
- the authenticated client
-
getAcr
Get the ACR of the authenticated subject.- Returns:
- the ACR
-
getEndpoint
Get the endpoint that was called to trigger the event.- Returns:
- the called endpoint
-
getSession
Get the session ID on which the event was triggered.- Returns:
- the session ID
-
getClientVerifierType
Get the verifier type used for client authentication.- Returns:
- the client verifier type.
-
getUsedSecondaryClientVerifier
Get boolean with information if a secondary verifier was used for client authentication.- Returns:
- optional boolean with information if a secondary verifier was used.
-
asMap
- Specified by:
asMapin interfaceSerializableAsMap- Returns:
- representation of this Object as a Map containing only Java primitive types, plus instances of
Collection,StringandMap.It should be possible to fully re-construct this Object from a Map obtained by calling this method.
Unfortunately, in Java it is quite hard to make the type system enforce this condition, so implementators must be especially careful about this.
-
toString
-