<?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 make SSO works with Activiti and open am in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183016#M136146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to disable default auhtentication in Activiti rest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;……………………………………………………………….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Implement RestAuthenticator.java by overrride requestRequiresAuthentication and isRequestAuthorized methods and make them to return always false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. if (authenticate() == false) line of code in all the rest api related resources will not attempt authentication because if(restAuthenticator != null &amp;amp;&amp;amp; !restAuthenticator.requestRequiresAuthentication(request)) { piece of code in ActivitiRestApplication java class returnds true which make sure the line boolean authenticated = super.authenticate(request, response); never executes. This only only does the actual authentication in rest api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Corresponding classes in achieving the code should be overridden and web.xml should contain the extension class of ActivitiRestApplication &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the openam part&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;………………………………&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Follow the below links to use open am authentication in rest application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://wikis.forgerock.org/confluence/display/openam/3+OpenAM+Server+Configuration#id-3OpenAMServerConfiguration-CreatingAWebAgent" rel="nofollow noopener noreferrer"&gt;https://wikis.forgerock.org/confluence/display/openam/3+OpenAM+Server+Configuration#id-3OpenAMServerConfiguration-CreatingAWebAgent&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/jee-install-guide/index/chap-jboss-7.html" rel="nofollow noopener noreferrer"&gt;http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/jee-install-guide/index/chap-jboss-7.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. After following the steps given in the above links, any rest call tries to access rest application will go through the open am authentication web page&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 09:10:16 GMT</pubDate>
    <dc:creator>penusila611621</dc:creator>
    <dc:date>2014-11-20T09:10:16Z</dc:date>
    <item>
      <title>How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183011#M136141</link>
      <description>Hi All,I have configured the open am stuff as authentication mechanism to activiti explorer and activiti rest application.&amp;nbsp; this cofiguration is working as below1) open am login page is thrown when I try to access activiti explorer url2) again activiti explorer login page is coming up upon successfu</description>
      <pubDate>Wed, 12 Nov 2014 10:44:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183011#M136141</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-11-12T10:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183012#M136142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;any inputs please&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 04:43:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183012#M136142</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-11-13T04:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183013#M136143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a very specific question … And my knowledge of openam is limited … But my gues is that you will need to override the default classes in explorer, to catch the unauthenticated user and redirect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 22:40:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183013#M136143</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-19T22:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183014#M136144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks jbarrez.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have removed the existing authentication and coded openam specific and it's working fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 05:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183014#M136144</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-11-20T05:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183015#M136145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect. Would be cool if you could describe a bit in detail the steps you did to get there!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 08:52:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183015#M136145</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-20T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183016#M136146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to disable default auhtentication in Activiti rest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;……………………………………………………………….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Implement RestAuthenticator.java by overrride requestRequiresAuthentication and isRequestAuthorized methods and make them to return always false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. if (authenticate() == false) line of code in all the rest api related resources will not attempt authentication because if(restAuthenticator != null &amp;amp;&amp;amp; !restAuthenticator.requestRequiresAuthentication(request)) { piece of code in ActivitiRestApplication java class returnds true which make sure the line boolean authenticated = super.authenticate(request, response); never executes. This only only does the actual authentication in rest api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Corresponding classes in achieving the code should be overridden and web.xml should contain the extension class of ActivitiRestApplication &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the openam part&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;………………………………&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Follow the below links to use open am authentication in rest application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://wikis.forgerock.org/confluence/display/openam/3+OpenAM+Server+Configuration#id-3OpenAMServerConfiguration-CreatingAWebAgent" rel="nofollow noopener noreferrer"&gt;https://wikis.forgerock.org/confluence/display/openam/3+OpenAM+Server+Configuration#id-3OpenAMServerConfiguration-CreatingAWebAgent&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/jee-install-guide/index/chap-jboss-7.html" rel="nofollow noopener noreferrer"&gt;http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/jee-install-guide/index/chap-jboss-7.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. After following the steps given in the above links, any rest call tries to access rest application will go through the open am authentication web page&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:10:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183016#M136146</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-11-20T09:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to make SSO works with Activiti and open am</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183017#M136147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for writing this down for the generations to come!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 13:49:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-make-sso-works-with-activiti-and-open-am/m-p/183017#M136147</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-12-05T13:49:50Z</dc:date>
    </item>
  </channel>
</rss>

