Class SecurityEventListener
- java.lang.Object
-
- jenkins.security.SecurityListener
-
- io.jenkins.plugins.maplelabs.Events.SecurityEventListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SecurityEventListener extends SecurityListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SecurityEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
authenticated2(org.springframework.security.core.userdetails.UserDetails details)
This function will hit when user authenticatedprotected void
failedToAuthenticate(String username)
This function will hit when user failed to authenticateprotected void
failedToLogIn(String username)
This function will hit when user failed to loginprotected void
loggedIn(String username)
This function will hit when user logged inprotected void
loggedOut(String username)
This function will hit when user loggedOutprotected void
userCreated(String username)
This function will hit when user is created-
Methods inherited from class jenkins.security.SecurityListener
authenticated, fireAuthenticated, fireAuthenticated2, fireFailedToAuthenticate, fireFailedToLogIn, fireLoggedIn, fireLoggedOut, fireUserCreated
-
-
-
-
Method Detail
-
userCreated
protected void userCreated(@NonNull String username)
This function will hit when user is created- Overrides:
userCreated
in classSecurityListener
- Parameters:
username
- user name
-
authenticated2
protected void authenticated2(@NonNull org.springframework.security.core.userdetails.UserDetails details)
This function will hit when user authenticated- Overrides:
authenticated2
in classSecurityListener
- Parameters:
details
- user details
-
failedToAuthenticate
protected void failedToAuthenticate(@NonNull String username)
This function will hit when user failed to authenticate- Overrides:
failedToAuthenticate
in classSecurityListener
- Parameters:
username
- user name
-
loggedIn
protected void loggedIn(@NonNull String username)
This function will hit when user logged in- Overrides:
loggedIn
in classSecurityListener
- Parameters:
username
- user name
-
failedToLogIn
protected void failedToLogIn(@NonNull String username)
This function will hit when user failed to login- Overrides:
failedToLogIn
in classSecurityListener
- Parameters:
username
- user name
-
loggedOut
protected void loggedOut(@NonNull String username)
This function will hit when user loggedOut- Overrides:
loggedOut
in classSecurityListener
- Parameters:
username
- user name
-
-