<?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: Workdesk Integration into Java/J2EE webapp in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291599#M244729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have downloaded trial version and trying to access the UI with URL based approach defined in Remote Control Interface and I get the following exceptions, what does this mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: OwAppContext.handleRequest: External Event Handler, targetId = 'RemoteControl.Doc' not defined or not allowed in RoleManager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Source: OECM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;com.wewebu.ow.server.exceptions.OwInvalidOperationException: OwAppContext.handleRequest: External Event Handler, targetId = 'RemoteControl.Doc' not defined or not allowed in RoleManager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 14:47:00 GMT</pubDate>
    <dc:creator>cancerian1978</dc:creator>
    <dc:date>2014-01-17T14:47:00Z</dc:date>
    <item>
      <title>Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291597#M244727</link>
      <description>Hi Alfresco Gurus, I am doing some research on the ways to integrate our java based webapp with Alfresco repo and provide the user some kind of UI so that they can browse/add/edit documents. During this I came across Alfresco Workdesk and the UI seems to be perfect for our needs. I downloaded trial</description>
      <pubDate>Thu, 16 Jan 2014 16:10:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291597#M244727</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-01-16T16:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291598#M244728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi cancerian1978,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Workdesk feature you are looking for is called "Remote Control", where you can use URL calls to perform following actions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Search for items based on metadata&lt;/LI&gt;&lt;LI&gt;Open a folder&lt;/LI&gt;&lt;LI&gt;View a document&lt;/LI&gt;&lt;LI&gt;Modify/Edit an item´s properties&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Please see the section "Remote control interface" in Workdesk Configuration Guide (available via docs.alfresco.com), where the URL parameters for a remote search are explained and examples for searches are given. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note also that the Remote Control feature is not available in Workdesk Community Edition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dennis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 08:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291598#M244728</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2014-01-17T08:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291599#M244729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have downloaded trial version and trying to access the UI with URL based approach defined in Remote Control Interface and I get the following exceptions, what does this mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: OwAppContext.handleRequest: External Event Handler, targetId = 'RemoteControl.Doc' not defined or not allowed in RoleManager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Source: OECM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;com.wewebu.ow.server.exceptions.OwInvalidOperationException: OwAppContext.handleRequest: External Event Handler, targetId = 'RemoteControl.Doc' not defined or not allowed in RoleManager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 14:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291599#M244729</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-01-17T14:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291600#M244730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi cancerian1978,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue seems to be the ID in your remote control plugin call. Exception is telling me that you tried targetId = 'RemoteControl.Doc'. You have to use the full plugin id of the Remote Control master plugin as defined in owplugins.xml (PLugin configuration file). If you did not touch the configuration at all, the default id value should be 'com.wewebu.ow.RemoteControl'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An exemplary Remote Control call to to search for documents could look like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;h_ttp://localhost:8080/workdesk/?owappeid=com.wewebu.ow.RemoteControl.Doc&amp;amp;ctrlev=search&amp;amp;plugid=com.wewebu.ow.Search&amp;amp;stname=Find%20Customer%20Documents.xml&amp;amp;maxsize=100&amp;amp;prop_P&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wdcm:CustomerIDAspect.owdcm:CustomerID=20130214-Germany-24&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The parameters here are as followed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- owappeid=com.wewebu.ow.RemoteControl.Doc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the plugin id of the Remote Control master plugin (as defined in owplugins.xml) appended by ".Doc"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- ctrlev=search&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keyword that defines you want to perform a remote search&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- plugid=com.wewebu.ow.Search&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The plugin ID of the Search master plugin as defined in owplugins.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- stname=Find%20Customer%20Documents.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The search template name as it can be found under owsearchtemplates (location for search templates). Please escape spaces and special characters!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- maxsize=100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The number of maximum results returned. In this case only the first 100 hits are returned&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- prop_P&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wdcm:CustomerIDAspect.owdcm:CustomerID=20130214-Germany-24&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A property value as it should be used in the defined search template. In this case the value of prop_P&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wdcm:CustomerIDAspect.owdcm:CustomerID should be "20130214-Germany-24"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this example made things clear now and you can get your remote control search to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 09:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291600#M244730</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2014-01-20T09:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291601#M244731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got it working now, thank you so much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 13:40:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291601#M244731</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-01-21T13:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291602#M244732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Feeling happy when you are happy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:24:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291602#M244732</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2014-01-21T14:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291603#M244733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Deko, thanks for your help so far, I got the workdesk remote thing working but it supports limited functionality. Now my question is, are there any alternate solutions like this where I can construct URL and integrate from my application for ex: is there a way to integrate Alfresco Share/Explorer using the same approach or some other UI's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 19:03:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291603#M244733</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-01-23T19:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291604#M244734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi cancerian1978,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don´t fully understand your question. You wanted to&amp;nbsp; integrate Workdesk into your application and therefore you can only use those remote control URLs at the moment. Do you want to integrate Share now also into your application? Or do you want to integrate Share into Workdesk or the other way round? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You said the functionality is limited, could you please give me the use case you want to address?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 08:26:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291604#M244734</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2014-01-24T08:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291605#M244735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First regarding the workdesk, currently workdesk can be accessed from my webapp using URL's via Remote Control plugin. Using this approach we can search the documents, open a folder, open a document. Is there a way to check-in documents? Also to open a folder/document using URL we need DMS id, how do we get it? Do we need to make a separate webservice call to get the ID and then use it as URL param?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now coming to my other question, I was asking if is there a way, similar to Workdesk remote control plugin, to access Alfresco Share/Explorer or any other UI using URL based approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this is clear or do you need me to elaborate more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 14:04:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291605#M244735</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-01-25T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291606#M244736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi cancerian1978,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use "extended" functionality (e.g. checking in a document) I would like to refer you to the Alfresco Rest API or CMIS API, both offering web services to realize such use cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/CMIS" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/CMIS&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the DMSID used in Workdesk, I´d like to point you to the DMSID section in the Workdesk Configuration Guide, where the format of DMSIDs is explained in more detail. As Workdesk is using CMIS to connect to Alfresco, the format of a CMIS DMSI is looking like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ocmis,&amp;lt;native CMIS repository ID&amp;gt;,&amp;lt;native CMIS object ID&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;An exemplary DMSID based on that format could look like the following one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ocmis, 56fe6a25-f3d6-4f6a-b4a4-496fc4c31afb,workspace:||SpacesStore|ca296fcd-15e7-41c2-a368-897d9864cd41&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The CMIS repository ID is a fix ID for your Alfresco repo and can be read out using following URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;h_ttp://SERVER&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ORT/alfresco/service/cmis/index.html&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To retreive the CMIS object ID you might have to call the related services if you don´t know the ID already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 07:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291606#M244736</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2014-01-27T07:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291607#M244737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Deko,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with Cancerian1978 on this integration. Currently when we use the remote control URL and open Workdesk we have to login. We would like to make the login happen behind the scenes in our own code instead of asking our users to login each time. I did see something about writing Login Interceptors but not sure how to go about it. Or like we connect to Alfresco and can create a Session Object, can we do something similar in Workdesk? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for all your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 15:38:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291607#M244737</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2014-04-08T15:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291608#M244738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;basically you would need to implement the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.wewebu.ow.server.ecmimpl.opencmis.auth;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;interface OwCMISAuthenticationInterceptor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Initialization of AuthProviderFactory instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * with corresponding configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param configNode OwXMLUtil node which represents AuthProviderFactory configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @throws OwException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; void init(OwXMLUtil configNode) throws OwException;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Called to create a new Authentication provider which should be used in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * communication between CMIS client and server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param information Map current available informations for OpenCMIS Session creation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return AuthenticationProvider which should be used for session creation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @throws OwException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthenticationProvider createAuthenticationProvider(Map&amp;lt;String, ?&amp;gt; information) throws OwException;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Called before login page is rendered, can be used for redirect or preparation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * of this instance. The return value defines if the process sequence should be processed as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * defined, or if it should stop because the response was created by this instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * &amp;lt;p&amp;gt;If true is returned, by default a login is processed through network.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The login will call the {@link #createAuthenticationProvider(Map)} and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * verify against back-end if login was successful.&amp;lt;/p&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param req HttpServletRequest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param resp HttpServletResponse&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return boolean true process sequence as defined, false stop processing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @throws OwException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public boolean onRequest(HttpServletRequest req, HttpServletResponse resp) throws OwException, IOException;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The important parts are onRequest and createAuthenticationProvider, the onRequest will be handled when Workdesk is accessed, you may extract some information from HttpServletRequest here to do some kind of SSO magic. If the method return true, it will be progressed as Authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So after you got all information and the login is processed, at some point the createAuthenticationProvider is called and will get the current OpenCMIS Session setting in a parameter Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That method is creating the OpneCMIS AuthenticationProvider, responsible for authentication and creation of OpenCMIS Session (for more information see: &lt;/SPAN&gt;&lt;A href="http://chemistry.apache.org/java/opencmis.html" rel="nofollow noopener noreferrer"&gt;http://chemistry.apache.org/java/opencmis.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D.evil&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: Configuring your Authentication Interceptor see the configuration files owbootstrap.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;EcmAdapter&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;AuthInterceptor className="com.wewebu.ow.server.ecmimpl.opencmis.alfresco.OwCMISAlfrescoOAuthInterceptor"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!– any nodes defined here are provided as OwXMLUtil in init method –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/AuthInterceptor&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:53:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291608#M244738</guid>
      <dc:creator>d_evil</dc:creator>
      <dc:date>2014-04-11T07:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Workdesk Integration into Java/J2EE webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291609#M244739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes D.evil, that is how we were able to login programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 20:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workdesk-integration-into-java-j2ee-webapp/m-p/291609#M244739</guid>
      <dc:creator>cancerian1978</dc:creator>
      <dc:date>2014-04-17T20:13:00Z</dc:date>
    </item>
  </channel>
</rss>

