Class UserCleanupEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.user.UserCleanupEvent
- All Implemented Interfaces:
Serializable
Raised when a user is deleted from all 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.
This event is raised for every deleted user.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
UserCleanupEvent
-
-
Method Details
-
getDeletedUser
-