Class SecurityEventListener

    • Constructor Detail

      • SecurityEventListener

        public SecurityEventListener()
    • Method Detail

      • userCreated

        protected void userCreated​(@NonNull
                                   String username)
        This function will hit when user is created
        Overrides:
        userCreated in class SecurityListener
        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 class SecurityListener
        Parameters:
        details - user details
      • failedToAuthenticate

        protected void failedToAuthenticate​(@NonNull
                                            String username)
        This function will hit when user failed to authenticate
        Overrides:
        failedToAuthenticate in class SecurityListener
        Parameters:
        username - user name
      • loggedIn

        protected void loggedIn​(@NonNull
                                String username)
        This function will hit when user logged in
        Overrides:
        loggedIn in class SecurityListener
        Parameters:
        username - user name
      • failedToLogIn

        protected void failedToLogIn​(@NonNull
                                     String username)
        This function will hit when user failed to login
        Overrides:
        failedToLogIn in class SecurityListener
        Parameters:
        username - user name
      • loggedOut

        protected void loggedOut​(@NonNull
                                 String username)
        This function will hit when user loggedOut
        Overrides:
        loggedOut in class SecurityListener
        Parameters:
        username - user name