shared drives with cmis and jlan

30
0 Richard Im Solutions Engineer, Alfresco twitter: what’s twitter?

Upload: alfresco-software

Post on 16-Jul-2015

2.908 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Shared Drives with CMIS and JLAN

0

Richard Im

Solutions Engineer, Alfresco

twitter: what’s twitter?

Page 2: Shared Drives with CMIS and JLAN

1

• Unique

• Interesting

• Extends or Integrates Alfresco

How did Richard get here?

Page 3: Shared Drives with CMIS and JLAN

2

Page 4: Shared Drives with CMIS and JLAN

3

Page 5: Shared Drives with CMIS and JLAN

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

5

Page 7: Shared Drives with CMIS and JLAN

6

Page 8: Shared Drives with CMIS and JLAN

7

Page 9: Shared Drives with CMIS and JLAN

8

Page 10: Shared Drives with CMIS and JLAN

9

Page 11: Shared Drives with CMIS and JLAN

10

Page 12: Shared Drives with CMIS and JLAN

11

Page 13: Shared Drives with CMIS and JLAN

12

Page 14: Shared Drives with CMIS and JLAN

13

• Alfresco Native CIFs disabled – no tricks

• CMIS Interface between JLAN and Alfresco ECM

DEMO

Page 15: Shared Drives with CMIS and JLAN

14

Page 16: Shared Drives with CMIS and JLAN

15

Page 17: Shared Drives with CMIS and JLAN

16

Page 18: Shared Drives with CMIS and JLAN

17

Page 19: Shared Drives with CMIS and JLAN

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

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

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

21

Page 23: Shared Drives with CMIS and JLAN

22

Page 24: Shared Drives with CMIS and JLAN

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

24

Page 26: Shared Drives with CMIS and JLAN

25

Page 27: Shared Drives with CMIS and JLAN

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

2727

Page 29: Shared Drives with CMIS and JLAN

28

Normal Text

Normal TextNormal Text

Page 30: Shared Drives with CMIS and JLAN

29