<?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 Share SSO Not working with mod_auth_cas in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257439#M210569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;there is only one question i need to ask is that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why i am getting login page in the response from the below line&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Response response = conn.call("/api/admin/restrictions?guest=true");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;this line is in&lt;/SPAN&gt;&lt;STRONG&gt; class org.alfresco.web.site.EditionInterceptor&lt;/STRONG&gt;&lt;SPAN&gt; and method &lt;/SPAN&gt;&lt;STRONG&gt;preHandle(WebRequest request)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This filter is called after SSOAuthenticationFilter from within challengeOrPassThrough method&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where this line &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Response remoteRes = conn.call("/touch", ctx);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; gives blank output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAS 3.3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco 4.0.d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 10:04:20 GMT</pubDate>
    <dc:creator>swapraw</dc:creator>
    <dc:date>2012-06-20T10:04:20Z</dc:date>
    <item>
      <title>Share SSO Not working with mod_auth_cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257439#M210569</link>
      <description>there is only one question i need to ask is that why i am getting login page in the response from the below lineResponse response = conn.call("/api/admin/restrictions?guest=true");‍this line is in class org.alfresco.web.site.EditionInterceptor and method preHandle(WebRequest request)This filter is c</description>
      <pubDate>Wed, 20 Jun 2012 10:04:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257439#M210569</guid>
      <dc:creator>swapraw</dc:creator>
      <dc:date>2012-06-20T10:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Share SSO Not working with mod_auth_cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257440#M210570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;up until Alfresco Enterprise 3.4.9 / 4.0.2, Share cannot be used with external authentication (CAS) without having to add a custom filter. What you are describing on 4.0d falls into the expected result of this limitation. Have you added the necessary filter to enable Share SSO to handle the special HTTP header supplied via CAS authentication?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_using_external_SSO" rel="nofollow noopener noreferrer"&gt;wiki segment on Share in combination with external SSO&lt;/A&gt;&lt;SPAN&gt;. I do not know when the enhancements applied on the Enterprise branch will trickle back into Community though…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 17:31:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257440#M210570</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-06-23T17:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Share SSO Not working with mod_auth_cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257441#M210571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes indeed, when i install the alfresco share 4.0.d application those files mentioned in the given link by you were already present in the bundle i.e the "&lt;/SPAN&gt;&lt;STRONG&gt;SSOAuthentication filter&lt;/STRONG&gt;&lt;SPAN&gt;" was already added in the share/…/web.xml file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only file i think missing was the &lt;/SPAN&gt;&lt;STRONG&gt;"org.alfresco.web.site.servlet.SlingshotAlfrescoConnector"&lt;/STRONG&gt;&lt;SPAN&gt;, which extracts the userName from the header proxied by CAS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I added this class whithin &lt;/SPAN&gt;&lt;STRONG&gt;"alfresco-share-4.0.d.jar"&lt;/STRONG&gt;&lt;SPAN&gt; along with some modification to &lt;/SPAN&gt;&lt;STRONG&gt;SSOAuthenticationFilter &lt;/STRONG&gt;&lt;SPAN&gt; to extract the userName and deployed in ../share/WEB-INF/lib folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rest all the configuration was done according to the given link by you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now what i have done is that since the response from this line &lt;/SPAN&gt;&lt;STRONG&gt;Response response = conn.call("/api/admin/restrictions?guest=true");&lt;/STRONG&gt;&lt;SPAN&gt; was a login page instaed of a json object, i commented out this line and manually added the json object which consists of userName {taken from header}, edition{hardcoded : Edition } and the document {null}.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With this i am able to login to share with CAS, but i am not sure as to at what level this modification will work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 06:05:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-sso-not-working-with-mod-auth-cas/m-p/257441#M210571</guid>
      <dc:creator>swapraw</dc:creator>
      <dc:date>2012-06-26T06:05:04Z</dc:date>
    </item>
  </channel>
</rss>

