<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CAS SSO HTTPRequestAuthenticationFilter problems in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119749#M84416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is because the org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter class&amp;nbsp; has no 'no arg' constructor, so it can not be instantiated using the Class.newInstance() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can develop a class extending org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter and use this new class as your Filter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;package co.com.arkimia.filters;&lt;BR /&gt;public class MyHTTPRequestAuthenticationFilter extends org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter {&lt;BR /&gt;&amp;nbsp; public MyHTTPRequestAuthenticationFilter() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; super("x-user");&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, in the web.xml, just use the new class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Authentication Filter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-class&amp;gt;co.com.arkimia.filters.MyHTTPRequestAuthenticationFilter&amp;lt;/filter-class&amp;gt;&lt;BR /&gt;&amp;lt;/filter&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 19:41:08 GMT</pubDate>
    <dc:creator>jzulu2000</dc:creator>
    <dc:date>2008-04-10T19:41:08Z</dc:date>
    <item>
      <title>CAS SSO HTTPRequestAuthenticationFilter problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119747#M84414</link>
      <description>HelloI have Alfresco installed as servlet on Tomcat.I want to configure it to work with my CAS server to get SSO with over servlets. I try to use HTTPRequestAuthenticationFilter but with no success.I have this in my web.xml&amp;lt;filter&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;HTTP Request Authentication Filter&amp;lt;</description>
      <pubDate>Wed, 26 Sep 2007 12:23:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119747#M84414</guid>
      <dc:creator>aleksei</dc:creator>
      <dc:date>2007-09-26T12:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: CAS SSO HTTPRequestAuthenticationFilter problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119748#M84415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of LAfresco are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You also need a CAS filter wired up before this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 13:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119748#M84415</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-10-11T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: CAS SSO HTTPRequestAuthenticationFilter problems</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119749#M84416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is because the org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter class&amp;nbsp; has no 'no arg' constructor, so it can not be instantiated using the Class.newInstance() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can develop a class extending org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter and use this new class as your Filter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;package co.com.arkimia.filters;&lt;BR /&gt;public class MyHTTPRequestAuthenticationFilter extends org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter {&lt;BR /&gt;&amp;nbsp; public MyHTTPRequestAuthenticationFilter() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; super("x-user");&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, in the web.xml, just use the new class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Authentication Filter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-class&amp;gt;co.com.arkimia.filters.MyHTTPRequestAuthenticationFilter&amp;lt;/filter-class&amp;gt;&lt;BR /&gt;&amp;lt;/filter&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 19:41:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-sso-httprequestauthenticationfilter-problems/m-p/119749#M84416</guid>
      <dc:creator>jzulu2000</dc:creator>
      <dc:date>2008-04-10T19:41:08Z</dc:date>
    </item>
  </channel>
</rss>

