How does j_security_check work? How do we customize the login API call?

174 Views Asked by At

I just started learning about using j_security_check and it seems pretty straightforward but what I can’t seem to understand is how the action knows what api call to handle the login process. Say I have an api set up and I want j_security_check to hit that api and login if successful, how do I go about that? Also is it editable? Can we change the action name, or how it authenticates? I can’t seem to find any documentation on this. I just see help setting up in the html form and the login-config in the web.xml. Any point in the right direction would be truly appreciated

0

There are 0 best solutions below