Class ProfileAddedSystemEvent

Object
se.curity.identityserver.sdk.data.events.SystemEvent
se.curity.identityserver.sdk.data.events.ProfileAddedSystemEvent
All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event

public class ProfileAddedSystemEvent extends SystemEvent implements AuditableEvent
Event that occurs when a new profile is added to the server.
  • Constructor Details

    • ProfileAddedSystemEvent

      public ProfileAddedSystemEvent(String serviceId, String serviceRole, String profileName, String profileType)
      Parameters:
      serviceId - The id of the service
      serviceRole - The role of the affected server
      profileName - The name of the added profile
      profileType - The type of the added profile
  • Method Details

    • getProfileName

      public String getProfileName()
      Get the name of the added profile.
      Returns:
      the profile name
    • getProfileType

      public String getProfileType()
      Get the type of the added profile.
      Returns:
      the profile type
    • getAuditData

      public AuditData getAuditData()
      Description copied from interface: AuditableEvent
      Get all AuditData associated with this auditable event.

      This method must always return the same instant of AuditData.

      Specified by:
      getAuditData in interface AuditableEvent
      Returns:
      the AuditData concisely describing the auditable data of this event
    • 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
      Overrides:
      asMap in class SystemEvent
      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.