Hi,
I would like to implement a plugin which provides some activity when a user is successfully logged-in.
I found an interface in SAL: com.atlassian.sal.api.auth.AuthenticationListener
But I did not find any registration method for the listener registration.
The plugin should be developed for FishEye/Crucible.
Could you please tell me how to do it?
Thanks,
David.
Community moderators have prevented the ability to post new answers.
Hi Felipe,
Thanks a lot for your response!
Initially, I have started with the Event Listener Module, but the module is not triggered by a successful user login.
On the other hand, I am able to catch following events:
com.atlassian.crucible.event.ReviewCreatedEvent.java
com.atlassian.crucible.event.ReviewItemRevisionDataChangedEvent.java
com.atlassian.crucible.event.ReviewUpdatedEvent.java
com.atlassian.crucible.event.ReviewStateChangedEvent.java
com.atlassian.crucible.event.ReviewDescriptionUpdatedEvent.java
com.atlassian.crucible.event.CommentCreatedEvent.java
com.atlassian.crucible.event.CommentUpdatedEvent.java
com.atlassian.crucible.event.CommentDeletedEvent.java
com.atlassian.crucible.event.ReviewerCompletedEvent.java
com.atlassian.crucible.event.AllReviewersCompletedEvent.java
It would be fine if there could be a chance to do an activity before a user gets its Dashboard.
Is it possible to trigger the plugin on such event?
BTW, EventListener interface and Event class are deprecated and I did not find the way how to implemented it via the related annotation com.atlassian.event.api.EventListener
Thanks a lot,
David.
Hi David,
I am wondering if you can give the Event Listener Module Type a try? An event listener plugin module is an object which is notified when certain internal Crucible or FishEye events occur.
If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.
Thanks in advance!
Kind regards,
Felipe Kraemer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.