voyent
IceFaces 2 + Spring Security 3 redirect after login  XML
Forum Index -> General Help
Author Message
fisu

Joined: 01/Dec/2009 00:00:00
Messages: 15
Offline


Hello! First, sorry for my english.
I'm having a problem with the automatic redirection of spring security 3.
When I try to acces a secured page, automatically redirect to the login page, I log in, and everything works perfects with the auto-config="true" settings and using the default login page of SS3. I log in, and then I being redirect to the orginal page I was trying to access.

Then if I add a form-login parameter with a customized login page using this code
Code:
     <http realm="Sample Realm" use-expressions="true" auto-config="true">
         <intercept-url pattern="/" access="permitAll"/>
         <intercept-url pattern="/resources/**" filters="none" />
         <intercept-url pattern='/secured/**' access="isAuthenticated()" />
         <form-login login-page="/login.html" />
     </http>
 

I try to access a secured page, redirect me to the login page. I log in succesfully but I'm not redirected anywhere. I capture the <ice:messeges> and this error is displayed:
"No se puede encontrar el caso de navegación coincidente del ID de vista '/login.xhtml' para la acción {1}' con el resultado '{2}'"

"Can't find the navigation rule matching the view Id '/login.xhtml' for the action {1} with the result {2}"

Any ideas?
Thanks
fisu

Joined: 01/Dec/2009 00:00:00
Messages: 15
Offline


No ideas?
Jsword

Joined: 15/Sep/2011 04:15:17
Messages: 14
Offline


this form is dead, there's no help here.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team