<?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 what is connector used for ? What are they ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237842#M190972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I saw the following code somewhere:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (cachedNtlm)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connector conn = connectorService.getConnector(this.endpoint, session);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ConnectorContext ctx = new ConnectorContext(null, getConnectionHeaders(conn));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;remoteRes = conn.call("/touch", ctx, req, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connector conn = connectorService.getConnector(this.endpoint, AuthenticationUtil.getUserId(req),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;session);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ConnectorContext ctx = new ConnectorContext();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;remoteRes = conn.call("/touch", ctx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone tell me what is this used for ? Are connector a web service ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I find more detailed information on this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can Alfresco use connector to authenticate user ????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 10:57:08 GMT</pubDate>
    <dc:creator>zengqingyi12</dc:creator>
    <dc:date>2010-10-21T10:57:08Z</dc:date>
    <item>
      <title>what is connector used for ? What are they ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237842#M190972</link>
      <description>I saw the following code somewhere:if (cachedNtlm){Connector conn = connectorService.getConnector(this.endpoint, session);ConnectorContext ctx = new ConnectorContext(null, getConnectionHeaders(conn));remoteRes = conn.call("/touch", ctx, req, null);}else{Connector conn = connectorService.getConnector</description>
      <pubDate>Thu, 21 Oct 2010 10:57:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237842#M190972</guid>
      <dc:creator>zengqingyi12</dc:creator>
      <dc:date>2010-10-21T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: what is connector used for ? What are they ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237843#M190973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that code is from the one of the Alfresco Share AuthenticationFilter classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connectors and Authenticators are used under the covers in SpringSurf to perform and maintain the authentication credentials for user. So a user will be logged in over a connector to an endpoint (some remote server probably), and it is the responsibility of the connector to perform that work and then maintain the credentials (probably just an auth value in a cookie header or maybe a ticket value on a url) for future requests made by that user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example in Alfresco Share, we make requests via the "alfresco" endpoint, which in turn uses the "alfresco-ticket" authenticator. Note that this is part of SpringSurf config out-of-the-box to make Alfresco connectivity easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To give you (and others who have asked similar questions) a better example, I will be writing a blog post shortly on creating a simple SpringSurf app that connects to an Alfresco repo to authenticate it's users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 12:08:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237843#M190973</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-10-22T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: what is connector used for ? What are they ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237844#M190974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think that code is from the one of the Alfresco Share AuthenticationFilter classes.&lt;BR /&gt;&lt;BR /&gt;Connectors and Authenticators are used under the covers in SpringSurf to perform and maintain the authentication credentials for user. So a user will be logged in over a connector to an endpoint (some remote server probably), and it is the responsibility of the connector to perform that work and then maintain the credentials (probably just an auth value in a cookie header or maybe a ticket value on a url) for future requests made by that user.&lt;BR /&gt;&lt;BR /&gt;So for example in Alfresco Share, we make requests via the "alfresco" endpoint, which in turn uses the "alfresco-ticket" authenticator. Note that this is part of SpringSurf config out-of-the-box to make Alfresco connectivity easy.&lt;BR /&gt;&lt;BR /&gt;To give you (and others who have asked similar questions) a better example, I will be writing a blog post shortly on creating a simple SpringSurf app that connects to an Alfresco repo to authenticate it's users.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Kev&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much, so can you also explain which when use the AuthenticationFilter for SSO, we need to call the touch point : alfresco/wcs/touch ?&amp;nbsp; What is this used for ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Oct 2010 08:41:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237844#M190974</guid>
      <dc:creator>zengqingyi12</dc:creator>
      <dc:date>2010-10-23T08:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: what is connector used for ? What are they ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237845#M190975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this post explains it fine: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=35400&amp;amp;p=102883#p102883" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=35400&amp;amp;p=102883#p102883&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;It is used to effectively start the authentication challenge procedure for the various SSO techniques, and to ensure that the user is still authenticated against the Alfresco server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 13:06:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-connector-used-for-what-are-they/m-p/237845#M190975</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-10-26T13:06:54Z</dc:date>
    </item>
  </channel>
</rss>

