Class AccountUpdatedScimEvent
Object
se.curity.identityserver.sdk.data.events.ScimEvent
se.curity.identityserver.sdk.data.events.AccountUpdatedScimEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event fired when an account is updated.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountUpdatedScimEvent(String authenticatedSubject, String scimAccountId, String httpMethod, Map<String, Object> updateMap, ResourceAttributes<?> updatedAccount, @Nullable ResponseModel.MapResponseModel responseModel, String profileId) Creates anAccountUpdatedScimEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get allAuditDataassociated with this auditable event.Get the HTTP method used to update the account (PUT or PATCH).Get the response model from the update response.Get the ID of the account being updated.Get theResourceAttributesof the updated account.Get a map of the attributes sent in for update.Methods inherited from class se.curity.identityserver.sdk.data.events.ScimEvent
getAuthenticatedSubject, getProfileId, toString
-
Constructor Details
-
AccountUpdatedScimEvent
public AccountUpdatedScimEvent(String authenticatedSubject, String scimAccountId, String httpMethod, Map<String, Object> updateMap, ResourceAttributes<?> updatedAccount, @Nullable ResponseModel.MapResponseModel responseModel, String profileId) Creates anAccountUpdatedScimEvent.- Parameters:
authenticatedSubject- The subject of whoever was responsible for the updatescimAccountId- The ID of the SCIM account being updatedhttpMethod- The HTTP method used to update the account (PUT or PATCH)updateMap- A map of the attributes sent in for updateupdatedAccount- TheResourceAttributesof the updated accountresponseModel- The response model from the update responseprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
getScimAccountId
Get the ID of the account being updated.- Returns:
- the ID of the account being updated
-
getHttpMethod
Get the HTTP method used to update the account (PUT or PATCH).- Returns:
- the HTTP method used to update the account (PUT or PATCH)
-
getUpdateMap
Get a map of the attributes sent in for update.- Returns:
- a map of the attributes sent in for update
-
getUpdatedAccount
Get theResourceAttributesof the updated account.- Returns:
- the
ResourceAttributesof the updated account
-
getResponseModel
Get the response model from the update response.- Returns:
- the response model from the update response
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
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.
-