shared drives with cmis and jlan
TRANSCRIPT
![Page 1: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/1.jpg)
0
Richard Im
Solutions Engineer, Alfresco
twitter: what’s twitter?
![Page 2: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/2.jpg)
1
• Unique
• Interesting
• Extends or Integrates Alfresco
How did Richard get here?
![Page 3: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/3.jpg)
2
![Page 4: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/4.jpg)
3
![Page 5: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/5.jpg)
4
• A little hidden gem called: JLAN
• http://www.alfresco.com/products/aifs/
• Alfresco Repository CMIS integrations: dime a dozen
• Extend Alfresco with CMIS
• But, why would you want to do that Richard?
![Page 6: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/6.jpg)
5
![Page 7: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/7.jpg)
6
![Page 8: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/8.jpg)
7
![Page 9: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/9.jpg)
8
![Page 10: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/10.jpg)
9
![Page 11: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/11.jpg)
10
![Page 12: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/12.jpg)
11
![Page 13: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/13.jpg)
12
![Page 14: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/14.jpg)
13
• Alfresco Native CIFs disabled – no tricks
• CMIS Interface between JLAN and Alfresco ECM
DEMO
![Page 15: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/15.jpg)
14
![Page 16: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/16.jpg)
15
![Page 17: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/17.jpg)
16
![Page 18: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/18.jpg)
17
![Page 19: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/19.jpg)
18
• Good API for Client and
Server
• Server is key
• JLAN Disk Driver via
OpenCMIS Client API.
![Page 20: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/20.jpg)
19
<diskshare name="cmis" comment="CMIS share">
<driver>
<class>org.alfresco.jlan.server.filesys.cmis.CmisDiskDriver</class>
<CmisUrl>http://localhost:8080/alfresco/service/cmis</CmisUrl>
<CmisUsername>admin</CmisUsername>
<CmisPassword>admin</CmisPassword>
<debug/>
</driver>
</diskshare>
![Page 21: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/21.jpg)
20
CmisDeviceContext extends DiskDeviceContext
Used to retain the static information about the share being used
Responsible for CMIS Session
![Page 22: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/22.jpg)
21
![Page 23: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/23.jpg)
22
![Page 24: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/24.jpg)
23
public class CmisDiskDriver implements DiskInterface
Called by the interactions from client protocol layer
Meat of the operations
![Page 25: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/25.jpg)
24
![Page 26: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/26.jpg)
25
![Page 27: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/27.jpg)
26
• Refactor to use DB Device
• Huge Benefits from built-in cache
• JLAN Authenticator bridged with Open CMIS Authentication
Provider
• Context changes for Session Factory
• Currently, same session used in singleton
![Page 28: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/28.jpg)
2727
![Page 29: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/29.jpg)
28
Normal Text
Normal TextNormal Text
![Page 30: Shared Drives with CMIS and JLAN](https://reader033.vdocuments.net/reader033/viewer/2022042701/55a7baa31a28ab0e6d8b47fa/html5/thumbnails/30.jpg)
29