I have an Login Class, checking if the credentials are correct. This class also has an login() function to register the user as online etc.
How can I fully customize the Spring Security Process? It already redirects to my LoginView-Page, but I haven’t found a way to login using an Button.
-Which Function do I have to call?
-How to authenticate from Login Class?
The tutorial covers how you make your own custom login page, by making use of LoginForm (you can also use LoginOverlay). These are premade forms which also include the button which will automatically trigger the authenticate method of your AuthenticationProvider implementation, which you will need to make, and inject into your Spring Security Configuration.
Kaspar Scherrer:
The tutorial covers how you make your own custom login page, by making use of LoginForm (you can also use LoginOverlay). These are premade forms which also include the button which will automatically trigger the authenticate method of your AuthenticationProvider implementation, which you will need to make, and inject into your Spring Security Configuration.