<?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 Invoke  Person Service &amp; Authentication Service from external web application? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291689#M244819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks mroger…I will give it a try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 15:08:00 GMT</pubDate>
    <dc:creator>aoakash83</dc:creator>
    <dc:date>2014-08-06T15:08:00Z</dc:date>
    <item>
      <title>How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291683#M244813</link>
      <description>Hello All,I am trying to search the user based on the user name and if he is not present then creating the user using using createPerson of Person Service.Because mine is an external web application, I want to know that how can I configure these services in springs context.I found a post which is re</description>
      <pubDate>Tue, 05 Aug 2014 07:18:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291683#M244813</guid>
      <dc:creator>aoakash83</dc:creator>
      <dc:date>2014-08-05T07:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291684#M244814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can simply consume cmis services exposed by alfresco in your web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please go through this link&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.alfresco.com/cmis" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.com/cmis&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will get some more idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:17:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291684#M244814</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-08-05T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291685#M244815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Mits,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply, but what I have understood so far is that Alfresco does expose the services and there are 2 ways to invoke it :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Restful services&amp;nbsp; through which I can find user and then create the users &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/people?userName=xyz" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/people?userName=xyz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The way I have mentioned in my question by using authentication service &amp;amp; create person service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In first approach I have to generate a token then need to pass it to URL etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I want to use second approach where I think I can configure the bean definitions of Alfresco in my application context and invoke the services. But I need some pointer/examples how to configure those beans in application context of my web application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you provide any help on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 20:19:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291685#M244815</guid>
      <dc:creator>aoakash83</dc:creator>
      <dc:date>2014-08-05T20:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291686#M244816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You only have access to the "beans" of alfresco if you embed alfresco within your application.&amp;nbsp;&amp;nbsp; In which case just include the spring framework within your application and cut down alfresco's application-context.xml as neccesary.&amp;nbsp;&amp;nbsp; There used to be SDK examples of this however that's all obsolete with the move to maven.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise you need to call one of alfresco's many remote APIs.&amp;nbsp;&amp;nbsp;&amp;nbsp; Or add your own services to alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 11:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291686#M244816</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-08-06T11:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291687#M244817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Many thanks for your reply mrogers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got your point, so what do you suggest shall I use the Restfull API of Alfresco like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=alfresco&lt;/A&gt;&lt;SPAN&gt; to get the token and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/people?userName=abc&amp;amp;alf_ticket=%22+token" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/people?userName=abc&amp;amp;alf_ticket='+token&lt;/A&gt;&lt;SPAN&gt;, to search whether the user is present or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) and finally pass all the details like username, name password and email address for the creation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if my understanding is correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 13:13:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291687#M244817</guid>
      <dc:creator>aoakash83</dc:creator>
      <dc:date>2014-08-06T13:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291688#M244818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes.&amp;nbsp;&amp;nbsp;&amp;nbsp; You could also look at how Alfresco Share does it since that functionality already exists.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 13:49:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291688#M244818</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-08-06T13:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Invoke  Person Service &amp; Authentication Service from external web application?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291689#M244819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks mroger…I will give it a try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-invoke-person-service-authentication-service-from/m-p/291689#M244819</guid>
      <dc:creator>aoakash83</dc:creator>
      <dc:date>2014-08-06T15:08:00Z</dc:date>
    </item>
  </channel>
</rss>

