JSF 2.0 integration and spring-security 3?

Can this material be combined? I just need a simple login page, even without db backend :) Username / pwd should be stored in securityContext ...

Can someone provide me with a tutorial or show me how things should be set up?

Thank!

+3
source share
1 answer

There are several ways to do this:

  • "An easy way to HTML." In this case, you use the standard Spring security configuration and use the standard HTML page, specifying the form for sending the security login to Spring.

  • " JSF 2.0". bean ActionListener , URL- , FacesContext.getExternalContext(), dispatch(), FacesContext.responseComplete(), . , web.xml, Spring FORWARD- URL- .

+1

Source: https://habr.com/ru/post/1776425/


All Articles