I was working on a Custom Login Process, and I want make the Login from the bottom, I use this simple Java Action, I only know how to correct login using JavaAction : And this microflow: So when I click on Log In my Form call to the Microflow, and open the specific Role Home Page belong to the user, but the problem is then: the Role Home Page of the user appears of a few seconds and next redirect to the Home Page of Guest (Anonymous Role). I hope someone can help me.
Call Java Action:
Java Action Source:
Have you seen the login form widget? You can just place the widget on your anonymous home page and it handles everything.