Class ChatUserAuthenticationListener

    • Constructor Detail

      • ChatUserAuthenticationListener

        @Inject
        public ChatUserAuthenticationListener​(ChatUsersRegistration chatUsersRegistration)
    • Method Detail

      • firstHomepageAccessAfterAuthentication

        public String firstHomepageAccessAfterAuthentication​(javax.servlet.http.HttpServletRequest request,
                                                             User user,
                                                             String finalURL)
        Description copied from interface: UserAuthenticationListener
        This method is called just before redirecting the user to the home page, after a successful authentication.
        If it is necessary, the redirection can be overridden...
        Specified by:
        firstHomepageAccessAfterAuthentication in interface UserAuthenticationListener
        Parameters:
        request - the current user request.
        user - the current user.
        finalURL - the initial URL of user redirection, just after a successful authentication.
        Returns:
        the overridden url redirection, or null if no override.