Hi All,
I'm trying to implement spring security login using PrimeFaces dialog.
I'm currently following jsf2 impl created by Lincoln Baxter
http://ocpsoft.com/java/acegi-spring-security-jsf-login-page/
I have managed to get Lincoln example working, but would like to use PrimeFaces dialog box
to contain my login details. Every time spring security fails authentication, the dialog box disapears.
I attempted to replace the primeface login code example with the following:-
<h:inputText id="j_username" value="#{loginBean.username}" required="true" />
<h:inputSecret id="j_password" value="#{loginBean.password}" required="true" />
<h:commandButton type="submit" id="login" action="#{loginBean.doLogin}" value="Login" />
Primeface Login example:-
Has anybody created a spring security login box using PrimeFaces?
Mat