Class AccountReadScimEvent
Object
se.curity.identityserver.sdk.data.events.ScimEvent
se.curity.identityserver.sdk.data.events.AccountReadScimEvent
- All Implemented Interfaces:
SerializableAsMap,Event
A
ScimEvent that occurs when a single user account information is read.
Operations that result in several accounts being read at once are reported via the
AccountSearchScimEvent instead.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountReadScimEvent(String authenticatedSubject, String scimAccountId, ResourceAttributes<?> userAccount, ResourceQuery resourceQuery, ResponseModel.MapResponseModel responseModel, String profileId) Creates a newAccountReadScimEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get theResourceQueryused when retrieving the account.Get the response model of the response triggering this event.Get the account ID of the account having been read.Get theResourceAttributesthat was read on the account.Methods inherited from class se.curity.identityserver.sdk.data.events.ScimEvent
getAuthenticatedSubject, getProfileId, toString
-
Constructor Details
-
AccountReadScimEvent
public AccountReadScimEvent(String authenticatedSubject, String scimAccountId, ResourceAttributes<?> userAccount, ResourceQuery resourceQuery, ResponseModel.MapResponseModel responseModel, String profileId) Creates a newAccountReadScimEvent.- Parameters:
authenticatedSubject- The subject who was responsible, i.e. who read the accountscimAccountId- The ID of the account entity being readuserAccount- The attributes being readresourceQuery- TheResourceQueryused when reading the accountresponseModel- The response model provided for the read eventprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
getScimAccountId
Get the account ID of the account having been read.- Returns:
- the account ID of the account having been read
-
getUserAccount
Get theResourceAttributesthat was read on the account.- Returns:
- the
ResourceAttributesthat was read on the account
-
getResourceQuery
Get theResourceQueryused when retrieving the account.- Returns:
- the
ResourceQueryused when retrieving the account
-
getResponseModel
Get the response model of the response triggering this event.- Returns:
- the
ResourceQueryused when retrieving the account
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classScimEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-