Class ScimEvent

Object
se.curity.identityserver.sdk.data.events.ScimEvent
All Implemented Interfaces:
SerializableAsMap, Event
Direct Known Subclasses:
AccountCreatedScimEvent, AccountDeletedScimEvent, AccountReadScimEvent, AccountSearchScimEvent, AccountUpdatedScimEvent, RevokedDelegationScimEvent

public abstract class ScimEvent extends Object implements Event
Common base class for any event triggered by SCIM actions.
Since:
2.2.0
  • Constructor Details

    • ScimEvent

      public ScimEvent(String authenticatedSubject, String profileId)
      Construct a ScimEvent with a given authenticated subject (who triggered the event) and a profile ID.
      Parameters:
      authenticatedSubject - The subject of whoever triggered the event (client or user)
      profileId - The ID a profile from which this event originated
  • Method Details

    • getAuthenticatedSubject

      public String getAuthenticatedSubject()
      Get the authenticated subject, i.e. who triggered the event.
      Returns:
      The subject of whoever triggered the event (client or user)
    • getProfileId

      public String getProfileId()
      Get the ID of the profile from which this event originated
      Returns:
      profile ID
      Since:
      7.0.0
    • asMap

      public Map<String,Object> asMap()
      Description copied from interface: Event
      Get a map representation of this Event.
      Specified by:
      asMap in interface Event
      Specified by:
      asMap in interface SerializableAsMap
      Returns:
      a Map representation of this Event. This can be used to serialize events. Sub-types are encouraged to override this method, calling super.asMap() and enriching the returned mutable Map with the more specific information added by the sub-type.
    • toString

      public String toString()
      Overrides:
      toString in class Object