Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55305

Add user creation listener-methods to SecurityListener

    Details

    • Similar Issues:
    • Epic Link:

      Description

      In Jenkins core, the SecurityListener class has only methods for listening to authentication-based events (e.g. login, logout, authenticated, etc), but lacks any methods for listening to Jenkins user-account creations; which are an equally important set of security-related events. Hence, the SecurityListener class requires an update with those methods that would facilitate this functionality.

      • To perform this update will require modifying the SecurityListener class within the jenkins-core jenkins/security package.

      This update will enable the Audit-Log plugin, as well as any other authentication-based plugins, to reuse the same preexisting SecurityListener class to listen for Jenkins user account creation notifications.

        Attachments

          Activity

          Hide
          jvz Matt Sicker added a comment -

          Note that this extension point would also be useful for authentication plugins to add support for notifying Jenkins of newly created accounts proactively rather than waiting for someone to attempt to log in first. That might be useful for provisioning user configuration data (e.g., new employee joins team, want to provide default settings to that user).

          Show
          jvz Matt Sicker added a comment - Note that this extension point would also be useful for authentication plugins to add support for notifying Jenkins of newly created accounts proactively rather than waiting for someone to attempt to log in first. That might be useful for provisioning user configuration data (e.g., new employee joins team, want to provide default settings to that user).
          Hide
          mide David Olorundare added a comment -

          Merged to master.

          Show
          mide David Olorundare added a comment - Merged to master.

            People

            • Assignee:
              mide David Olorundare
              Reporter:
              mide David Olorundare
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: