<?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: Authenticating Without a Password (based off SDK example) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authenticating-without-a-password-based-off-sdk-example/m-p/274155#M227285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So it's starting to look like doing it this way isn't possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking into the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#External" rel="nofollow noopener noreferrer"&gt;External Authentication Subsystem&lt;/A&gt;&lt;SPAN&gt;, and saw the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_With_mod_auth_cas" rel="nofollow noopener noreferrer"&gt;CAS guide&lt;/A&gt;&lt;SPAN&gt;, but that seems like overkill and I'm not sure I understand everything that's going on or why all of that is needed for my situation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After poking around in the Exernal subsystem, I saw it uses "SimpleAcceptOrRejectAllAuthenticationComponentImpl", which overrides the authentication function. In that function it authenticates a user via a "setCurrentUser" function, but that relies on the value of "accept" being set to true. I grepped through the Alfresco source, and looked in the files under WEB-INF/classes/alfresco/subsystems/Authentication/external, but I couldn't find out how the setAccept function ever got called. After some googling I found this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/alfresco-container-security/source/browse/trunk/src/java/com/pararede/alfresco/security/AlfrescoContainerSecurityFilter.java?spec=svn4&amp;amp;r=4" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/alfresco-container-security/source/browse/trunk/src/java/com/pararede/alfresco/security/AlfrescoContainerSecurityFilter.java?spec=svn4&amp;amp;r=4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like they setup a filter that logs the user in via a SimpleAcceptOrRejectAllAuthenticationComponentImpl object where they explicitly call setAccept(true). I haven't tried this yet, but their wiki says the web.xml file needs to be edited, something an Alfresco Dev said in another post wasn't needed after Alfresco v3.2 (I'm using Enterprise v3.4.3). Is this the right avenue to go down? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've heard another idea would be to write my own Authenticator subsystem, but I don't see any docs on that, and without knowing how the "setAccept" function gets called for the External subsystem, I feel like I'd be shooting in the dark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts? Anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Pat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 14:30:28 GMT</pubDate>
    <dc:creator>patorjk</dc:creator>
    <dc:date>2011-09-22T14:30:28Z</dc:date>
    <item>
      <title>Authenticating Without a Password (based off SDK example)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authenticating-without-a-password-based-off-sdk-example/m-p/274154#M227284</link>
      <description>I've setup Alfresco to work with an LDAP server, and I can login fine. My next step was to have the login page re-direct the LDAP webapp, which is an external login screen, and have the user login there and then be redirected back to Alfresco. The reason for this is because the LDAP webapp sets a co</description>
      <pubDate>Tue, 20 Sep 2011 14:56:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authenticating-without-a-password-based-off-sdk-example/m-p/274154#M227284</guid>
      <dc:creator>patorjk</dc:creator>
      <dc:date>2011-09-20T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticating Without a Password (based off SDK example)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authenticating-without-a-password-based-off-sdk-example/m-p/274155#M227285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So it's starting to look like doing it this way isn't possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking into the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#External" rel="nofollow noopener noreferrer"&gt;External Authentication Subsystem&lt;/A&gt;&lt;SPAN&gt;, and saw the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_With_mod_auth_cas" rel="nofollow noopener noreferrer"&gt;CAS guide&lt;/A&gt;&lt;SPAN&gt;, but that seems like overkill and I'm not sure I understand everything that's going on or why all of that is needed for my situation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After poking around in the Exernal subsystem, I saw it uses "SimpleAcceptOrRejectAllAuthenticationComponentImpl", which overrides the authentication function. In that function it authenticates a user via a "setCurrentUser" function, but that relies on the value of "accept" being set to true. I grepped through the Alfresco source, and looked in the files under WEB-INF/classes/alfresco/subsystems/Authentication/external, but I couldn't find out how the setAccept function ever got called. After some googling I found this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/alfresco-container-security/source/browse/trunk/src/java/com/pararede/alfresco/security/AlfrescoContainerSecurityFilter.java?spec=svn4&amp;amp;r=4" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/alfresco-container-security/source/browse/trunk/src/java/com/pararede/alfresco/security/AlfrescoContainerSecurityFilter.java?spec=svn4&amp;amp;r=4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like they setup a filter that logs the user in via a SimpleAcceptOrRejectAllAuthenticationComponentImpl object where they explicitly call setAccept(true). I haven't tried this yet, but their wiki says the web.xml file needs to be edited, something an Alfresco Dev said in another post wasn't needed after Alfresco v3.2 (I'm using Enterprise v3.4.3). Is this the right avenue to go down? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've heard another idea would be to write my own Authenticator subsystem, but I don't see any docs on that, and without knowing how the "setAccept" function gets called for the External subsystem, I feel like I'd be shooting in the dark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts? Anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Pat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:30:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authenticating-without-a-password-based-off-sdk-example/m-p/274155#M227285</guid>
      <dc:creator>patorjk</dc:creator>
      <dc:date>2011-09-22T14:30:28Z</dc:date>
    </item>
  </channel>
</rss>

