<?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: How to get ticket without password in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273907#M227037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've solved the problem!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can read all about it here &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/4627797/how-to-get-alfresco-login-ticket-without-user-password-but-with-impersonating-us" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4627797/how-to-get-alfresco-login-ticket-without-user-password-but-with-impersonating-us&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jan 2011 15:35:24 GMT</pubDate>
    <dc:creator>dok</dc:creator>
    <dc:date>2011-01-20T15:35:24Z</dc:date>
    <item>
      <title>How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273900#M227030</link>
      <description>I have to get ticket without password. I impersonate user and try to call http://alfrecoserver/alfresco/wcservice/mg/util/login by adding credentials to request, but I get error:The remote server returned an error: (500) Internal Server Error.&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.GetResponse()I'm writing</description>
      <pubDate>Tue, 28 Dec 2010 16:06:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273900#M227030</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2010-12-28T16:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273901#M227031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why are you using &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt; in the URL ? &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt; is the access using Webclient authentication. Shouldn't you be using &lt;/SPAN&gt;&lt;EM&gt;/service&lt;/EM&gt;&lt;SPAN&gt; instead so that HTTP authentication is requested instead ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 17:59:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273901#M227031</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2010-12-29T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273902#M227032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for posting so late. I took days off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt; in IE, I get ticket without writing username and password. When I use &lt;/SPAN&gt;&lt;EM&gt;/service&lt;/EM&gt;&lt;SPAN&gt; in IE, I get login window and after I write username and password I get ticket. Since I use don’t want users to write username and password (I use impersonation), I thought I should use &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt;. This is the only reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;EM&gt;/service&lt;/EM&gt;&lt;SPAN&gt; in my DLL and I get same error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The remote server returned an error: (401) Unauthorized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.GetResponse()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Previously I accidentally wrote that I got &lt;/SPAN&gt;&lt;EM&gt;Internal Server Error&lt;/EM&gt;&lt;SPAN&gt;, but it was with some other program code&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 12:48:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273902#M227032</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2011-01-04T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273903#M227033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you have quite a mess or I'm not understanding you well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What &lt;/SPAN&gt;&lt;EM&gt;wcservice&lt;/EM&gt;&lt;SPAN&gt; does is use your web session authentication instead of requiring you an HTTP authentication, so if you are logged out of Alfresco in IE and try to access something that requires authentication through &lt;/SPAN&gt;&lt;EM&gt;wcservice&lt;/EM&gt;&lt;SPAN&gt; you will be sent to the login page or to whatever authentication system you have configured. If this sounds too strange to you and you have never "logged" in &lt;/SPAN&gt;&lt;EM&gt;Alfresco&lt;/EM&gt;&lt;SPAN&gt; that might be because you have &lt;/SPAN&gt;&lt;EM&gt;NTLM&lt;/EM&gt;&lt;SPAN&gt; configured in your Alfresco and are using your windows account to authenticate in a "transparent way".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is "WindowsImpersonationContext" supposed to provide "NTLM" compatible authentication ? If this is so why do you have to specify the user in UPN ?&amp;nbsp; NTLM should just take whole credentials from the session isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have access to the password as well as the user I would use &lt;/SPAN&gt;&lt;EM&gt;/service &lt;/EM&gt;&lt;SPAN&gt; and use a plain HTTP authentication. I'm not a .NET programmer so can't give you more detail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 13:09:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273903#M227033</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2011-01-04T13:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273904#M227034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have access to users' passwords. This is why my DLL must impersonate users (so I can get their default network credentials). I can impersonate users using only their User Principal Name (UPN, &lt;/SPAN&gt;&lt;A href="http://searchexchange.techtarget.com/definition/User-Principal-Name" rel="nofollow noopener noreferrer"&gt;http://searchexchange.techtarget.com/definition/User-Principal-Name&lt;/A&gt;&lt;SPAN&gt;). It is explained here &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms998351.aspx#paght000023_impersonatingbyusingwindowsidentity" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ms998351.aspx#paght000023_impersonatingbyusingwindowsidentity&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I impersonate users, I get their default network credentials and set the network credentials of request to authenticate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I send request to /service from IE, &lt;/SPAN&gt;&lt;EM&gt;Alfresco&lt;/EM&gt;&lt;SPAN&gt; doesn’t authenticate me (same is when I send request to /service from my DLL). But then IE opens login window and asks me to enter username and password. &lt;/SPAN&gt;&lt;EM&gt;Alfresco&lt;/EM&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;EM&gt;stdout.log&lt;/EM&gt;&lt;SPAN&gt; records that after I entered username and password, it used BASIC HTTP authentication. I believe what for BASIC HTTP authentication I must provide username and password, but that is exactly what I’m trying to avoid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to authenticate using impersonated user’s default network credentials in web request credentials. Is this possible? I believe it is because I can do this by sending request to /wcservice from IE without username and password. Does this make any sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my code with comments:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;string URI = "&lt;A href="http://alfrescoserver/alfresco/wcservice/mg/util/login" rel="nofollow noopener noreferrer"&gt;http://alfrescoserver/alfresco/wcservice/mg/util/login&lt;/A&gt;";&lt;BR /&gt;string UPN = "username@domain";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// Make a request to a Uniform Resource Identifier (URI)&lt;BR /&gt;WebRequest request = WebRequest.Create(URI);&lt;BR /&gt;// Initializes a new instance of the WindowsIdentity class for the user represented by the specified User Principal Name (UPN)&lt;BR /&gt;WindowsIdentity identity = new WindowsIdentity(UPN);&lt;BR /&gt;// Represents the Windows user prior to an impersonation operation&lt;BR /&gt;WindowsImpersonationContext context = null;&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Start impersonating. Allows code to impersonate a different Windows user&lt;BR /&gt;&amp;nbsp;&amp;nbsp; context = identity.Impersonate();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Now impersonating&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Access resources using the identity of the authenticated user&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Sets the network credentials used for authenticating the request with the Internet resource&lt;BR /&gt;&amp;nbsp;&amp;nbsp; request.Credentials = CredentialCache.DefaultNetworkCredentials;&lt;BR /&gt;}&lt;BR /&gt;catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return e.Message + Environment.NewLine + e.StackTrace;&lt;BR /&gt;}&lt;BR /&gt;finally {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (context != null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;// Revert impersonation. Reverts the user context to the Windows user represented by this object&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; context.Undo();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Returns a response to an Internet request&lt;BR /&gt;&amp;nbsp;&amp;nbsp; using (WebResponse response = request.GetResponse()) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader sr = new StreamReader(response.GetResponseStream());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sr.ReadToEnd();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return (e.Message + Environment.NewLine + e.StackTrace);&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;/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;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;/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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 16:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273904#M227034</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2011-01-04T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273905#M227035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using NTLM in Alfresco so that it accepts Windows Session Credentials ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 17:50:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273905#M227035</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2011-01-04T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273906#M227036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I’m using NTLM in &lt;/SPAN&gt;&lt;EM&gt;Alfresco&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I change my program code in way that it doesn’t impersonate user and get default network credentials, but instead it gets network credentials with username and password and assign CookieContainer object of request (to have cookies returned in the Cookies property of the HttpWebResponse) IT WORKS, I GET TICKET! I send request to &lt;/SPAN&gt;&lt;EM&gt;/wcservice&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is code with username and password and CookieContainer object:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;string URI = "&lt;A href="http://alfrescoserver/alfresco/wcservice/mg/util/login" rel="nofollow noopener noreferrer"&gt;http://alfrescoserver/alfresco/wcservice/mg/util/login&lt;/A&gt;";&lt;BR /&gt;string UPN = "username@domain";&lt;BR /&gt;&lt;BR /&gt;// Make a request to a Uniform Resource Identifier (URI)&lt;BR /&gt;WebRequest request = WebRequest.Create(URI);&lt;BR /&gt;&lt;BR /&gt;request.CookieContainer = new CookieContainer(1);&lt;BR /&gt;request.Credentials = new NetworkCredential("username", "p@ssw0rd");&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; // Returns a response to an Internet request&lt;BR /&gt;&amp;nbsp;&amp;nbsp; using (WebResponse response = request.GetResponse()) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader sr = new StreamReader(response.GetResponseStream());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sr.ReadToEnd();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return (e.Message + Environment.NewLine + e.StackTrace);&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;/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;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;But, I need to authenticate using impersonated user’s default network credentials in web request credentials.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are records from Alfresco stdout.log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;17:11:35,616 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcservice/mg/util/login SID:3CC295C26ADFCFAF71149F395431490E&lt;BR /&gt;17:11:35,616 User:username DEBUG [web.scripts.DeclarativeRegistry] Web Script index lookup for uri /mg/util/login took 0.601263ms&lt;BR /&gt;17:11:35,616 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 10.**.**.** (10.**.**.**:1512)&lt;BR /&gt;17:11:35,631 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcservice/mg/util/login SID:3CC295C26ADFCFAF71149F395431490E&lt;BR /&gt;17:11:35,631 User:username DEBUG [web.scripts.DeclarativeRegistry] Web Script index lookup for uri /mg/util/login took 0.340155ms&lt;BR /&gt;17:11:35,631 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xe20882b7,Domain:&amp;lt;NotSet&amp;gt;,Wks:&amp;lt;NotSet&amp;gt;]&lt;BR /&gt;17:11:35,631 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] Client domain null&lt;BR /&gt;17:11:35,741 User:username DEBUG [app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000283,Target:ComputerNameA,Ch:ab756bf7e8086bc5]&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 16:21:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273906#M227036</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2011-01-05T16:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273907#M227037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've solved the problem!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can read all about it here &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/4627797/how-to-get-alfresco-login-ticket-without-user-password-but-with-impersonating-us" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/4627797/how-to-get-alfresco-login-ticket-without-user-password-but-with-impersonating-us&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 15:35:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273907#M227037</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2011-01-20T15:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273908#M227038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Congratulations, that was a hard one…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to paste your solution here just for completeness:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've solved the problem!&lt;BR /&gt;&lt;BR /&gt;I believe that we had a double-hop problem (&lt;A href="http://blogs.msdn.com/b/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx" rel="nofollow noopener noreferrer"&gt;http://blogs.msdn.com/b/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;This is what had to be done to solve this problem:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1. User that runs my DLL must be Windows Server 2003 domain user&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2. Service that uses my DLL must have registered Service Principal Name in Domain controller with user that runs it (user that runs my DLL)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3. User that runs my DLL must not have Account is sensitive and cannot be delegated option selected in Domain controller&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 4. User that runs my DLL must have Trust this user for delegation to any service (Kerberos only) or Trust this user for delegation to specified services only option selected in Domain controller (if the user is in Windows Server 2003 functional domain this option is available only when you register Service Principal Name with this user)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 5. Computer that runs service that uses my DLL must have Trust computer for delegation to any service (Kerberos only) or Trust computer for delegation to specified services only option selected in Domain Controller&lt;BR /&gt;&lt;BR /&gt;This all (and more) is explained in Microsoft document Troubleshooting Kerberos Delegation. It contains:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * checklist for Active Directory,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * checklist for Client application,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * checklist for Middle tier,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * checklist for Back-end&lt;BR /&gt;&lt;BR /&gt;plus&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * configuration examples for common scenarios.&lt;BR /&gt;&lt;BR /&gt;You can read more about Windows Authentication in ASP.NET 2.0 (&lt;A href="http://msdn.microsoft.com/en-us/library/ff647076.aspx" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ff647076.aspx&lt;/A&gt;).&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 18:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273908#M227038</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2011-01-20T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273909#M227039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just new to this forum… want to accompolish the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But for some reason , i could not open the url &lt;/SPAN&gt;&lt;A href="http://alfrecoserver/alfresco/wcservice/mg/util/login" rel="nofollow noopener noreferrer"&gt;http://alfrecoserver/alfresco/wcservice/mg/util/login&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; in my IE. Any thoughts , i replaced the alfrescoserver with my alfresco ip address and :8080. Still it does not open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the web script is the out of the box from Alfresco and its not custom built. Correct ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 22:56:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273909#M227039</guid>
      <dc:creator>ganessan_p</dc:creator>
      <dc:date>2012-03-06T22:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273910#M227040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it was custom build. It was done by company we hired so I don't know details about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login&lt;/A&gt;&lt;SPAN&gt;. You can read more about it here &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/2.1_REST_API#Get_Login_Ticket" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/2.1_REST_API#Get_Login_Ticket&lt;/A&gt;&lt;SPAN&gt; or here &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Login" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Login&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that this will get you in right direction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 08:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273910#M227040</guid>
      <dc:creator>dok</dc:creator>
      <dc:date>2012-03-07T08:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get ticket without password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273911#M227041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply. Those apis require username and password. I need to get a ticket from a browser through REST (AJAX xmlhttp) through the Active directory integration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like you have done similar stuff.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-ticket-without-password/m-p/273911#M227041</guid>
      <dc:creator>ganessan_p</dc:creator>
      <dc:date>2012-03-08T18:27:17Z</dc:date>
    </item>
  </channel>
</rss>

