<?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: SSO for WebService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144558#M101067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What exactly do you need to achieve - to authenticate a web service call, or to authenticate a ticket passed as part of a REST call?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you just want to authenticate a web service call from an external system you can use the CAS SSO filter described in the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to modify the filter mappings to protect the web service calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to grab the ticket from elsewhere out of the web service call and authenticate against that then you will need to create a new implementation of the AuthenticationService as described briefly here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Security_Services" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Security_Services&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CAS Client filter contains the code to verify a CAS ticket so you should be able to call that from your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to get into the CAS code then you can have your custom AuthenticationService call a URL that is protected by the CAS filter. If that call succeeds then the ticket is valid. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2008 11:19:45 GMT</pubDate>
    <dc:creator>mikewaters</dc:creator>
    <dc:date>2008-05-30T11:19:45Z</dc:date>
    <item>
      <title>SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144556#M101065</link>
      <description>Hello There,is there a way to modify the AuthenticationService, to be able to verify a ticket from CAS-SSO server??Thanks…</description>
      <pubDate>Mon, 24 Sep 2007 07:20:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144556#M101065</guid>
      <dc:creator>tobias_amon</dc:creator>
      <dc:date>2007-09-24T07:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144557#M101066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution now ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 13:59:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144557#M101066</guid>
      <dc:creator>aldebaranl2</dc:creator>
      <dc:date>2008-05-23T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144558#M101067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What exactly do you need to achieve - to authenticate a web service call, or to authenticate a ticket passed as part of a REST call?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you just want to authenticate a web service call from an external system you can use the CAS SSO filter described in the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to modify the filter mappings to protect the web service calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to grab the ticket from elsewhere out of the web service call and authenticate against that then you will need to create a new implementation of the AuthenticationService as described briefly here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Security_Services" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Security_Services&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CAS Client filter contains the code to verify a CAS ticket so you should be able to call that from your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to get into the CAS code then you can have your custom AuthenticationService call a URL that is protected by the CAS filter. If that call succeeds then the ticket is valid. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2008 11:19:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144558#M101067</guid>
      <dc:creator>mikewaters</dc:creator>
      <dc:date>2008-05-30T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144559#M101068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hopefully you can help me with more information on this issue. I have a working CAS-SSO-Alfresco installation, the CAS-SSO is also used with Zarafa (for e-mail and collaboration). There is an Zarafa-plugin which allows you to store e-mails directly in Alfresco. This plugin uses the Alfresco-(SOAP)-Webservices (AuthenticationService?wsdl). Is there a way to overcome the authentication with username and password to get a ticket and use the CAS-Session instead. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 22:23:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144559#M101068</guid>
      <dc:creator>alfuser008</dc:creator>
      <dc:date>2009-11-06T22:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144560#M101069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A &lt;/SPAN&gt;&lt;A href="http://www.callcenterphilippines.org" rel="nofollow noopener noreferrer"&gt;Philippine Call Center&lt;/A&gt;&lt;SPAN&gt; is a usual sight today in the country. Many call centers have emerged in different key cities, proving that the outsourcing industry in the Philippines is continuing to grow. It would be interesting if the country will be able to overtake India as the top outsourcing destination.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 03:44:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144560#M101069</guid>
      <dc:creator>dashacoen</dc:creator>
      <dc:date>2010-03-30T03:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144561#M101070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone knows why the AuthenticationUtils.startSession() does not work in JSP. It work in standalone java class. Do I need to add any certificate into the server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just do not know what is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;try {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WebServiceFactory.setEndpointAddress("&lt;/SPAN&gt;&lt;A href="https://cms-dev.vbi.vt.edu/alfresco/api" rel="nofollow noopener noreferrer"&gt;https://cms-dev.vbi.vt.edu/alfresco/api&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthenticationUtils.startSession("admin", "admin");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String ticket = AuthenticationUtils.getTicket();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return ticket;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch (Exception serviceException) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;throw new RuntimeException("Problem invoking web script",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;serviceException);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;finally {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // End the session&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthenticationUtils.endSession();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (conn != null) conn.disconnect();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}%&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 18:06:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144561#M101070</guid>
      <dc:creator>chengdong</dc:creator>
      <dc:date>2010-03-30T18:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144562#M101071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good morning, I need the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you found a way to authenticate the web service from cas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I replace this call?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AuthenticationUtils.startSession(username,password);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if my user is already authenticated by the CAS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 06:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144562#M101071</guid>
      <dc:creator>lourdes</dc:creator>
      <dc:date>2010-04-07T06:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144563#M101072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shouldn't you be &lt;/SPAN&gt;&lt;A href="http://www.openaccessmarketing.com" rel="nofollow noopener noreferrer"&gt;Outsourcing Tech Support&lt;/A&gt;&lt;SPAN&gt; in order to address some of the problems?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 19:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144563#M101072</guid>
      <dc:creator>rinachen</dc:creator>
      <dc:date>2010-04-16T19:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144564#M101073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Me too. How can I change Startsession function to authenticate with SSO?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:53:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144564#M101073</guid>
      <dc:creator>clock1988</dc:creator>
      <dc:date>2010-05-20T10:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: SSO for WebService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144565#M101074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey…..guys…..I don't have any idea of it…….I think u should take help from net or any expert who know about networking or networking engineer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;~~Lew~~&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.innovativeoutsource.com/" rel="nofollow noopener noreferrer"&gt;Outsource Web Development Services&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 09:55:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sso-for-webservice/m-p/144565#M101074</guid>
      <dc:creator>lewcrippen12</dc:creator>
      <dc:date>2010-07-07T09:55:22Z</dc:date>
    </item>
  </channel>
</rss>

