Class AccountSearchScimEvent
Object
se.curity.identityserver.sdk.data.events.ScimEvent
se.curity.identityserver.sdk.data.events.AccountSearchScimEvent
- All Implemented Interfaces:
SerializableAsMap,Event
A
ScimEvent that occurs when potentially several user account's information is read
via a SCIM search operation.
For access to a single user account, the AccountReadScimEvent is used.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountSearchScimEvent(String authenticatedSubject, List<ResourceAttributes<?>> userAccounts, ResourceQuery resourceQuery, ResponseModel.MapResponseModel responseModel, String profileId) Creates a newAccountSearchScimEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get theResourceQueryused to perform the search.Get theResponseModel.MapResponseModelgiven for the response.List<? extends ResourceAttributes<?>>Get a list of all theResourceAttributesretrieved in this search event.Methods inherited from class se.curity.identityserver.sdk.data.events.ScimEvent
getAuthenticatedSubject, getProfileId, toString
-
Constructor Details
-
AccountSearchScimEvent
public AccountSearchScimEvent(String authenticatedSubject, List<ResourceAttributes<?>> userAccounts, ResourceQuery resourceQuery, ResponseModel.MapResponseModel responseModel, String profileId) Creates a newAccountSearchScimEvent.- Parameters:
authenticatedSubject- The subject of whoever performed the searchuserAccounts- A list of allResourceAttributesretrieved in the searchresourceQuery- TheResourceQueryused for the searchresponseModel- TheResponseModel.MapResponseModelgiven for the responseprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
getUserAccounts
Get a list of all theResourceAttributesretrieved in this search event.- Returns:
- a list of all the
ResourceAttributesretrieved in this search event
-
getResourceQuery
Get theResourceQueryused to perform the search.- Returns:
- the
ResourceQueryused to perform the search
-
getResponseModel
Get theResponseModel.MapResponseModelgiven for the response.- Returns:
- the
ResponseModel.MapResponseModelgiven for the response
-
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.
-