[portal-commits] JBoss Portal SVN: r5870 - in trunk/identity/src/resources: . dtd test/config

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Fri Dec 15 10:09:11 EST 2006


Author: bdaw
Date: 2006-12-15 10:09:02 -0500 (Fri, 15 Dec 2006)
New Revision: 5870

Added:
   trunk/identity/src/resources/dtd/
   trunk/identity/src/resources/dtd/identity-config_1_0.dtd
   trunk/identity/src/resources/dtd/profile-config_1_0.dtd
Modified:
   trunk/identity/src/resources/test/config/db-config.xml
   trunk/identity/src/resources/test/config/opends-config.xml
   trunk/identity/src/resources/test/config/profile-config.xml
   trunk/identity/src/resources/test/config/rhds-config.xml
   trunk/identity/src/resources/test/config/standardidentity-config.xml
Log:
- DTD files for identity configuration

Added: trunk/identity/src/resources/dtd/identity-config_1_0.dtd
===================================================================
--- trunk/identity/src/resources/dtd/identity-config_1_0.dtd	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/dtd/identity-config_1_0.dtd	2006-12-15 15:09:02 UTC (rev 5870)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+-->
+
+<!--
+.
+-->
+<!ELEMENT identity-configuration (datasources,modules, options) >
+
+<!--
+.
+-->
+<!ELEMENT datasources (datasource*) >
+
+<!--
+.
+-->
+<!ELEMENT datasource (name, service-name?, class?, config) >
+
+<!--
+.
+-->
+<!ELEMENT name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT service-name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT class (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT config (option*)>
+
+<!--
+.
+-->
+<!ELEMENT option (name, value+) >
+
+<!--
+.
+-->
+<!ELEMENT value (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT modules (module*) >
+
+<!--
+.
+-->
+<!ELEMENT module (type, implementation, service-name?, class?, config) >
+
+<!--
+.
+-->
+<!ELEMENT type (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT implementation (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT options (option-group*)>
+
+<!--
+.
+-->
+<!ELEMENT option-group (group-name, option+)>
+
+<!--
+.
+-->
+<!ELEMENT group-name (#PCDATA) >
+

Added: trunk/identity/src/resources/dtd/profile-config_1_0.dtd
===================================================================
--- trunk/identity/src/resources/dtd/profile-config_1_0.dtd	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/dtd/profile-config_1_0.dtd	2006-12-15 15:09:02 UTC (rev 5870)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE profile PUBLIC
+   "-//JBoss Portal//DTD JBoss User Profile Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/profile-config_1_0.dtd">
+-->
+
+
+<!--<profile>
+   --><!--Database mapping - jbp_user table column mapping--><!--
+   <property>
+      <name>portal.user.name.given</name>
+      <type>java.lang.String</type>
+      <access-mode>read-write</access-mode>
+      <usage>mandatory</usage>
+      <display-name xml:lang="en">Name</display-name>
+      <description xml:lang="en">The user name</description>
+      <mapping>
+         <database>
+            <type>column</type>
+            <value>jbp_username</value>
+         </database>
+      </mapping>
+   </property>-->
+
+<!--
+.
+-->
+<!ELEMENT profile (property+) >
+
+<!--
+.
+-->
+<!ELEMENT property (name, type, access-mode, usage, display-name, description, mapping>
+
+<!--
+.
+-->
+<!ELEMENT name (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT type (#PCDATA)>
+
+<!--
+.
+-->
+<!ELEMENT access-mode (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT usage (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT display-name (#PCDATA) >
+
+<!ATTLIST display-name
+          xml:lang #PCDATA>
+
+<!--
+.
+-->
+<!ELEMENT description (#PCDATA) >
+
+<!ATTLIST description
+          xml:lang #PCDATA>
+<!--
+.
+-->
+<!ELEMENT mapping (database?, ldap?) >
+
+<!--
+.
+-->
+<!ELEMENT database (type, value) >
+
+<!--
+.
+-->
+<!ELEMENT type (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT value (#PCDATA) >
+
+<!--
+.
+-->
+<!ELEMENT ldap (value) >
+
+
+
+

Modified: trunk/identity/src/resources/test/config/db-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/db-config.xml	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/test/config/db-config.xml	2006-12-15 15:09:02 UTC (rev 5870)
@@ -21,6 +21,11 @@
   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+
 <identity-configuration>
    <datasources>
       <!--in tests Hibernate SF is created separately-->
@@ -66,4 +71,5 @@
          <config/>
       </module>
    </modules>
+   <options/>
 </identity-configuration>
\ No newline at end of file

Modified: trunk/identity/src/resources/test/config/opends-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/opends-config.xml	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/test/config/opends-config.xml	2006-12-15 15:09:02 UTC (rev 5870)
@@ -21,6 +21,11 @@
   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+
 <identity-configuration>
    <datasources>
       <datasource>

Modified: trunk/identity/src/resources/test/config/profile-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/profile-config.xml	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/test/config/profile-config.xml	2006-12-15 15:09:02 UTC (rev 5870)
@@ -21,6 +21,11 @@
   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE profile PUBLIC
+   "-//JBoss Portal//DTD JBoss User Profile Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/profile-config_1_0.dtd">
+
 <profile>
    <!--Database mapping - jbp_user table column mapping-->
    <property>

Modified: trunk/identity/src/resources/test/config/rhds-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/rhds-config.xml	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/test/config/rhds-config.xml	2006-12-15 15:09:02 UTC (rev 5870)
@@ -21,6 +21,11 @@
   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+   <!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+
 <identity-configuration>
    <datasources>
       <datasource>
@@ -91,6 +96,7 @@
       <module>
          <type>ConnectionContext</type>
          <implementation>LDAP</implementation>
+         <config/>
       </module>
    </modules>
    <options>

Modified: trunk/identity/src/resources/test/config/standardidentity-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/standardidentity-config.xml	2006-12-15 03:35:00 UTC (rev 5869)
+++ trunk/identity/src/resources/test/config/standardidentity-config.xml	2006-12-15 15:09:02 UTC (rev 5870)
@@ -21,6 +21,12 @@
   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+
+<!DOCTYPE identity-configuration PUBLIC
+   "-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN" 
+   "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
+
 <identity-configuration>
    <datasources>
       <datasource>




More information about the portal-commits mailing list