Class AccountCreatedScimEvent
Object
se.curity.identityserver.sdk.data.events.ScimEvent
se.curity.identityserver.sdk.data.events.AccountCreatedScimEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event fired when an account is created through SCIM.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountCreatedScimEvent(String authenticatedSubject, String scimAccountId, AccountAttributes postedAccount, ResourceAttributes<?> storedAccount, @Nullable ResponseModel.MapResponseModel responseModel, String profileId) Creates aAccountCreatedScimEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get allAuditDataassociated with this auditable event.TheAccountAttributesposted when creating this account.The response model retrieved when creating the account (empty map if none/unknown).Get the account ID of the account created in this event.Get theResourceAttributesthat were persisted when storing this account.Methods inherited from class se.curity.identityserver.sdk.data.events.ScimEvent
getAuthenticatedSubject, getProfileId, toString
-
Constructor Details
-
AccountCreatedScimEvent
public AccountCreatedScimEvent(String authenticatedSubject, String scimAccountId, AccountAttributes postedAccount, ResourceAttributes<?> storedAccount, @Nullable ResponseModel.MapResponseModel responseModel, String profileId) Creates aAccountCreatedScimEvent.- Parameters:
authenticatedSubject- The subject responsible for creating the accountscimAccountId- The ID of the created accountpostedAccount- TheAccountAttributesused to created the accountstoredAccount- The attributes persisted on the accountresponseModel- The response model retrieved when creating the account (or null if none/unknown)profileId- The ID of the profile from which this event originated
-
-
Method Details
-
getScimAccountId
Get the account ID of the account created in this event.- Returns:
- the account ID of the created account
-
getPostedAccount
TheAccountAttributesposted when creating this account.- Returns:
- The
AccountAttributesposted for creating this account
-
getStoredAccount
Get theResourceAttributesthat were persisted when storing this account.- Returns:
- The
ResourceAttributesthat were persisted when storing this account
-
getResponseModel
The response model retrieved when creating the account (empty map if none/unknown).- Returns:
- The response model retrieved when creating the account (empty map if none/unknown)
-
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.
-