Re: Pretty Faces with Spring Security, using param on the login page

Splash Forums PrettyFaces Users Pretty Faces with Spring Security, using param on the login page Re: Pretty Faces with Spring Security, using param on the login page

#22567

thierryler
Participant

Thx, I will have a look at those links.

Just until now, the best “solution” I founded was to create an entry point to my web site:

Code:
<url-mapping id=”go”>
<pattern value=”/go/#{lang :myBean.lang}/#{site : myBean.site}” />
<view-id value=”/go.jsf” />
<action>#{myBean.process}</action>
</url-mapping>

And the go.jsf only does a redirect :

Code:
<html>
<head>
<meta http-equiv=”Refresh” content=”0; URL=../../home/#{myBean.lang}/#{myBean.site}” />
</head>
</html>

Yes… snif snif…

It only gives access to the home page throw the entry point.