AnsweredAssumed Answered

2 Authentication Filters to handle web login ???

Question asked by blc on May 18, 2009
Latest reply on May 19, 2009 by blc
Hi all,

The config below is not working:


web.xml file
————–
<filter>
      <filter-name>HTTP Header Authentication Filter</filter-name>
      <filter-class>org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter</filter-class>
          <init-param>
              <param-name>httpServletRequestAuthHeaderName</param-name>
                <param-value>uid</param-value>
          </init-param>
</filter>

<filter>
      <filter-name>Authentication Filter</filter-name>
      <filter-class>org.alfresco.web.app.servlet.AuthenticationFilter</filter-class>
</filter>

<filter-mapping>
      <filter-name>HTTP Header Authentication Filter</filter-name>
      <url-pattern>/faces/*</url-pattern>
</filter-mapping>

<filter-mapping>
      <filter-name>Authentication Filter</filter-name>
      <url-pattern>/faces/*</url-pattern>
</filter-mapping>

What I'm trying to do is to set up two access points:
1. one from my Portal using Header Info to login.
2. the other is normal login using http://localhost:8080/alfresco.

But, it only works for the one from Portal using Header and could not work for both.

Any ideas, please help!!!!!

Thanks everyone would like to help ^^

Outcomes