shared drives with cmis and jlan

Post on 16-Jul-2015

2.908 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

0

Richard Im

Solutions Engineer, Alfresco

twitter: what’s twitter?

1

• Unique

• Interesting

• Extends or Integrates Alfresco

How did Richard get here?

2

3

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?

5

6

7

8

9

10

11

12

13

• Alfresco Native CIFs disabled – no tricks

• CMIS Interface between JLAN and Alfresco ECM

DEMO

14

15

16

17

18

• Good API for Client and

Server

• Server is key

• JLAN Disk Driver via

OpenCMIS Client API.

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>

20

CmisDeviceContext extends DiskDeviceContext

Used to retain the static information about the share being used

Responsible for CMIS Session

21

22

23

public class CmisDiskDriver implements DiskInterface

Called by the interactions from client protocol layer

Meat of the operations

24

25

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

2727

28

Normal Text

Normal TextNormal Text

29

top related