public class

UserCleanupEvent

extends StashEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.user.UserCleanupEvent

Class Overview

Raised when a user is deleted from all Directory user directories visible to the server.

Clients that store data used to authenticate or authorize a user should subscribe to this event to clean up data related to the deleted user. For example, if a plugin stores a secure key used to authenticate a user, it should listen for this event and delete those keys. Note that content created by the user typically shouldn't be deleted when the user is deleted, as it may still be of historical interest.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
UserCleanupEvent(Object source, StashUser deletedUser)
Public Methods
@Nonnull StashUser getDeletedUser()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public UserCleanupEvent (Object source, StashUser deletedUser)

Public Methods

@Nonnull public StashUser getDeletedUser ()