java - Seam security and prettyfaces redirect to a wrong url after login -


when log in page seam security, redirects me /web-inf/pages/index.xhtml instead of /. snippet of @viewconfig:

public interface pagesconfig {     public static final string pages_prefix = "/web-inf/pages/";      static enum pages {         @viewpattern(pages_prefix + "index.xhtml")         @urlmapping(pattern = "/")         @loggedin         @loginview(pages_prefix + "login.xhtml")         index,          @viewpattern(pages_prefix + "login.xhtml")         @urlmapping(pattern = "/login")         log_in,         ...     }     ... } 

do know problem might be?

i think bug: https://issues.jboss.org/browse/seamfaces-193

and think i've found fix, filed pull request on github: https://github.com/seam/faces/pull/75


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -