@Extension public class DatadogSecurityListener extends SecurityListener
SecurityListener
to trigger events and calculate metrics:
- When an user authenticates, the authenticated(UserDetails)
method will be invoked.
- When an user fails to authenticate, the failedToAuthenticate(String)
method will be invoked.
- When an user logout, the loggedOut(String)
method will be invoked.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
DatadogSecurityListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
authenticated(UserDetails details) |
protected void |
failedToAuthenticate(String username) |
protected void |
failedToLogIn(String username) |
protected void |
loggedIn(String username) |
protected void |
loggedOut(String username) |
authenticated2, fireAuthenticated, fireAuthenticated2, fireFailedToAuthenticate, fireFailedToLogIn, fireLoggedIn, fireLoggedOut, fireUserCreated, userCreated
protected void authenticated(@Nonnull UserDetails details)
authenticated
in class SecurityListener
protected void failedToAuthenticate(@Nonnull String username)
failedToAuthenticate
in class SecurityListener
protected void loggedIn(@Nonnull String username)
loggedIn
in class SecurityListener
protected void failedToLogIn(@Nonnull String username)
failedToLogIn
in class SecurityListener
protected void loggedOut(@Nonnull String username)
loggedOut
in class SecurityListener
Copyright © 2016–2023. All rights reserved.