cancel
Showing results for 
Search instead for 
Did you mean: 

2 Authentication Filters to handle web login ???

blc
Champ in-the-making
Champ in-the-making
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 ^^
1 REPLY 1

blc
Champ in-the-making
Champ in-the-making
Could anyone help ?