<?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 AuthenticationComponentImpl and MD4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authenticationcomponentimpl-and-md4/m-p/26872#M13440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've implemented my own AuthenticationComponentImpl to manage the authentication as described in wiki. Works fine since I use web access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During application start I got an error regarding CIFS server authentication setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking in the code I've seen that I need a NTLM support for the password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I've implemented the method getNTLMMode() in this manner&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public NTLMMode getNTLMMode() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return NTLMMode.MD4_PROVIDER;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;And the method getMD4HashedPassword() to return always the same password (just for test). This is the implememtation&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PasswordEncoder passwordEncoder = new MD4PasswordEncoderImpl();&lt;BR /&gt;String pwd = passwordEncoder.encodePassword(new String("admin"), null);&lt;BR /&gt;return pwd;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I don't have any error at the start up. I thought that this implementation let me login to CIFS server with any user always with the same password ("admin"). But doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain me if I miss something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2006 11:09:14 GMT</pubDate>
    <dc:creator>andrepra</dc:creator>
    <dc:date>2006-06-08T11:09:14Z</dc:date>
    <item>
      <title>AuthenticationComponentImpl and MD4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authenticationcomponentimpl-and-md4/m-p/26872#M13440</link>
      <description>I've implemented my own AuthenticationComponentImpl to manage the authentication as described in wiki. Works fine since I use web access.During application start I got an error regarding CIFS server authentication setup.Looking in the code I've seen that I need a NTLM support for the password.So, I'</description>
      <pubDate>Thu, 08 Jun 2006 11:09:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authenticationcomponentimpl-and-md4/m-p/26872#M13440</guid>
      <dc:creator>andrepra</dc:creator>
      <dc:date>2006-06-08T11:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: AuthenticationComponentImpl and MD4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authenticationcomponentimpl-and-md4/m-p/26873#M13441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After other test i've seen that the implememation described works. I need it because i'm connecting to a database user store.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 22:24:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authenticationcomponentimpl-and-md4/m-p/26873#M13441</guid>
      <dc:creator>andrepra</dc:creator>
      <dc:date>2006-06-08T22:24:41Z</dc:date>
    </item>
  </channel>
</rss>

