Make Argeo data model extensions and keyring optional.
[lgpl/argeo-commons.git] / org.argeo.node.api / src / org / argeo / node / node.cnd
index 8ac7c91f474585bed6b6d19fbe5b01dd942807a0..1a6dec5efeca9843f20d2fbc4791fe762c7c0124 100644 (file)
@@ -1,18 +1,5 @@
 <ldap = 'http://www.argeo.org/ns/ldap'>
 <node = 'http://www.argeo.org/ns/node'>
-<argeo = 'http://www.argeo.org/ns/argeo'>
-
-// DN (see https://tools.ietf.org/html/rfc4514)
-<cn = 'http://www.argeo.org/ns/rfc4514/cn'>
-<l = 'http://www.argeo.org/ns/rfc4514/l'>
-<st = 'http://www.argeo.org/ns/rfc4514/st'>
-<o = 'http://www.argeo.org/ns/rfc4514/o'>
-<ou = 'http://www.argeo.org/ns/rfc4514/ou'>
-<c = 'http://www.argeo.org/ns/rfc4514/c'>
-<street = 'http://www.argeo.org/ns/rfc4514/street'>
-<dc = 'http://www.argeo.org/ns/rfc4514/dc'>
-<uid = 'http://www.argeo.org/ns/rfc4514/uid'>
-
 
 [node:userHome]
 mixin
@@ -21,74 +8,3 @@ mixin
 [node:groupHome]
 mixin
 - ldap:cn (STRING) m
-
-// GENERIC TYPES NOT AVAILABLE IN JCR
-//[argeo:link] > mix:created, mix:lastModified
-//mixin
-// URI(s)
-//- argeo:uri (STRING) m
-
-//[argeo:references] > nt:unstructured
-//- * (REFERENCE) *
-
-// DATA MODEL
-//[argeo:dataModel] > mix:created, mix:lastModified, mix:versionable
-//mixin
-//- argeo:uri (STRING) m
-//- argeo:dataModelVersion (STRING) m
-
-// USER NODES
-// user should be lower case, between 3 and 15 characters long
-//[argeo:userHome] > mix:created, mix:lastModified
-//mixin
-//- argeo:userID (STRING) m
-//- argeo:remoteRoles (STRING) *
-// deprecated. for backward compatibility:
-//+ argeo:profile (argeo:userProfile)
-//+ argeo:keyring (argeo:pbeSpec)
-//+ argeo:preferences (argeo:preferenceNode)
-
-//[argeo:userProfile] > mix:created, mix:lastModified, mix:title, mix:versionable
-//mixin
-//- argeo:userID (STRING) m
-//- argeo:enabled (BOOLEAN)
-//- argeo:accountNonExpired (BOOLEAN)
-//- argeo:accountNonLocked (BOOLEAN)
-//- argeo:credentialsNonExpired (BOOLEAN)
-
-//[argeo:preferenceNode] > mix:lastModified, mix:versionable
-//mixin
-//+ * (argeo:preferenceNode) * version
-
-[argeo:remoteRepository] > nt:unstructured
-- argeo:uri (STRING)
-- argeo:userID (STRING)
-+ argeo:password (argeo:encrypted)
-
-// TABULAR CONTENT
-[argeo:table] > nt:file
-+ * (argeo:column) *
-
-[argeo:column] > mix:title
-- jcr:requiredType (STRING) = 'STRING'
-
-[argeo:csv] > nt:resource
-
-// CRYPTO
-[argeo:encrypted] > nt:base
-mixin
-// initialization vector used by some algorithms
-- argeo:iv (BINARY)
-
-[argeo:pbeKeySpec] > nt:base
-mixin
-- argeo:secretKeyFactory (STRING)
-- argeo:salt (BINARY)
-- argeo:iterationCount (LONG)
-- argeo:keyLength (LONG)
-- argeo:secretKeyEncryption (STRING)
-
-[argeo:pbeSpec] > argeo:pbeKeySpec
-mixin
-- argeo:cipher (STRING)
-