<?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 User Impersonation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/user-impersonation/m-p/235603#M188733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to be able to perform CMIS actions against Alfresco as an impersonated user. I am aware that CMIS does not specify any functionality re user impersonation. I was hoping to achieve something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Login to Alfresco via REST API or Web Script as the admin.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Impersonate the target user&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Create a login ticket for the target user&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Execute a CMIS service method (e.g. getChildren()) against Alfresco using the target user's username and login ticket&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;I'd like to do this so that users can login to my webapp, click a button in it and this will trigger a CMIS method. My app utilises Kerberos authentication via Spring Security so I would have the authenticated username but no password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The questions that I have are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Does the REST API provide a getLoginticketForUser() type method? If not then I guess I'll have to create a WebScript to do this via AuthenticationUtil.setCurrentUser().&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Can I pass login tickets instead of the password to Alfresco's CMIS service?&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 10:39:24 GMT</pubDate>
    <dc:creator>ukdavo</dc:creator>
    <dc:date>2010-08-03T10:39:24Z</dc:date>
    <item>
      <title>User Impersonation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-impersonation/m-p/235603#M188733</link>
      <description>Hi thereI would like to be able to perform CMIS actions against Alfresco as an impersonated user. I am aware that CMIS does not specify any functionality re user impersonation. I was hoping to achieve something like this:Login to Alfresco via REST API or Web Script as the admin.Impersonate the targe</description>
      <pubDate>Tue, 03 Aug 2010 10:39:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-impersonation/m-p/235603#M188733</guid>
      <dc:creator>ukdavo</dc:creator>
      <dc:date>2010-08-03T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: User Impersonation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-impersonation/m-p/235604#M188734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just noticed in Jeff Pott's CMIS article (&lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/archives/2009/11/23/1094" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/archives/2009/11/23/1094&lt;/A&gt;&lt;SPAN&gt;) that Alfresco's CMIS implementation can accept basic auth or Alfresco tickets. I also found a blog post that discusses how to get an Alfresco ticket via web script (&lt;/SPAN&gt;&lt;A href="http://fabiostrozzi.eu/?p=24" rel="nofollow noopener noreferrer"&gt;http://fabiostrozzi.eu/?p=24&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 15:19:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-impersonation/m-p/235604#M188734</guid>
      <dc:creator>ukdavo</dc:creator>
      <dc:date>2010-08-03T15:19:16Z</dc:date>
    </item>
  </channel>
</rss>

