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- .