Files
alfresco-community-repo/config/alfresco/model/remoteCredentialsModel.xml
Nick Burch e542141b84 Merged BRANCHES/DEV/V4.0-BUG-FIX to HEAD:
35626: Patch and Bootstrap files for the new System Containers for Remote Credentials and SyncSets
   35628: Model for Remote Credentials


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-04-24 15:43:42 +00:00

140 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<model name="rc:RemoteCredentialsModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Remote Credentials Model</description>
<author>Alfresco</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.alfresco.org/model/remotecredentials/1.0" prefix="rc"/>
</namespaces>
<types>
<type name="rc:remoteCredentialsSystem">
<title>Remote Credentials System</title>
<description>Holds one or more sets of credentials for a given remote system</description>
<parent>cm:cmobject</parent>
<archive>false</archive>
<associations>
<child-association name="rc:credentials">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>rc:credentialBase</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
<duplicate>false</duplicate>
<propagateTimestamps>true</propagateTimestamps>
</child-association>
</associations>
</type>
<type name="rc:credentialBase">
<title>Credentials Base Type</title>
<parent>cm:cmobject</parent>
<archive>false</archive>
<properties>
<property name="rc:remoteUsername">
<title>Remote Username</title>
<description>Username on the remote system</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="rc:lastAuthenticationSucceeded">
<title>Last Authentication Succeeded</title>
<description>Did the last Authentication attempt for the remote user succeed?</description>
<type>d:boolean</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<type name="rc:passwordCredentials">
<title>Password based Credentials</title>
<parent>rc:credentialBase</parent>
<properties>
<property name="rc:remotePassword">
<title>Remote Password</title>
<description>Password on the remote system</description>
<type>d:encrypted</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<type name="rc:oauth1Credentials">
<title>OAuth 1.0 based Credentials</title>
<parent>rc:credentialBase</parent>
<properties>
<property name="rc:oauth1Token">
<title>OAuth 1.0 Token Identifier</title>
<type>d:encrypted</type>
<mandatory>true</mandatory>
</property>
<property name="rc:oauth1TokenSecret">
<title>OAuth 1.0 Token Secret</title>
<type>d:encrypted</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
<type name="rc:oauth2Credentials">
<title>OAuth 2.0 based Credentials</title>
<parent>rc:credentialBase</parent>
<properties>
<property name="rc:oauth2AccessToken">
<title>OAuth 2.0 Access Token</title>
<type>d:encrypted</type>
<mandatory>true</mandatory>
</property>
<property name="rc:oauth2RefreshToken">
<title>OAuth 2.0 Refresh Token</title>
<type>d:encrypted</type>
<mandatory>true</mandatory>
</property>
<property name="rc:oauth2TokenIssuedAt">
<title>OAuth 2.0 Token Issued At</title>
<type>d:datetime</type>
<mandatory>true</mandatory>
</property>
<property name="rc:oauth2TokenExpiresAt">
<title>OAuth 2.0 Token Expires At</title>
<type>d:datetime</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
<aspects>
<aspect name="rc:remoteCredentialsSystemContainer">
<title>Remote Credentials System Container</title>
<associations>
<child-association name="rc:credentialsSystem">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>rc:remoteCredentialsSystem</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
<duplicate>false</duplicate>
<propagateTimestamps>true</propagateTimestamps>
</child-association>
</associations>
</aspect>
</aspects>
</model>