Changing the security.xml to <property name="filterProcessesUrl"
value="/j_acegi_security_check.html"/> gives same problem.

the following setup gives the same error message
faces.cong...
<navigation-rule>
    <from-view-id>/login.xhtml</from-view-id>
    <navigation-case>
      <from-outcome>login</from-outcome>
      <to-view-id>/j_acegi_security_check</to-view-id>
        
    </navigation-case>
  </navigation-rule>

security.xml ...
<property name="filterProcessesUrl" value="/j_acegi_security_check.html"/> 

the following gives me this url
http://localhost:8084/login.html?loginStatus=1 with loginMessage saying
Login failed. Please verify your credentials and try again

faces.config..
<navigation-rule>
    <from-view-id>/login.xhtml</from-view-id>
    <navigation-case>
      <from-outcome>login</from-outcome>
      <to-view-id>/j_acegi_security_check</to-view-id>
      <redirect />  
    </navigation-case>
  </navigation-rule>

security.xml ...
<bean id="authenticationProcessingFilter"
    class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
    <property name="authenticationManager" ref="authenticationManager"/>
    <property name="authenticationFailureUrl"
value="/login.html?loginStatus=1"/>
    <property name="alwaysUseDefaultTargetUrl" value="true"/>
    <property name="defaultTargetUrl" value="/home.html"/>
    <property name="filterProcessesUrl" value="/j_acegi_security_check"/>
  </bean>

changing it to 
faces.config...
<navigation-rule>
    <from-view-id>/login.xhtml</from-view-id>
    <navigation-case>
      <from-outcome>login</from-outcome>
      <to-view-id>/j_acegi_security_check.html</to-view-id>
      <redirect />  
    </navigation-case>
  </navigation-rule>

security.xml ...
<bean id="authenticationProcessingFilter"
    class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
    <property name="authenticationManager" ref="authenticationManager"/>
    <property name="authenticationFailureUrl"
value="/login.html?loginStatus=1"/>
    <property name="alwaysUseDefaultTargetUrl" value="true"/>
    <property name="defaultTargetUrl" value="/home.html"/>
    <property name="filterProcessesUrl"
value="/j_acegi_security_check.html"/>
  </bean>

gives me this url again http://localhost:8084/login.html?loginStatus=1 with
loginMessage saying Login failed. Please verify your credentials and try
again.


Not sure what I can do to figure this out.

..kace
-- 
View this message in context: 
http://www.nabble.com/acegi-and-jsf-tp16654660s2369p16667635.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to