Author: bdaw
Date: 2009-11-19 11:48:07 -0500 (Thu, 19 Nov 2009)
New Revision: 1045
Added:
migration/idm/tags/
migration/idm/tags/1.0.0.CR1/
migration/idm/tags/1.0.0.CR1/assembly/pom.xml
migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml
migration/idm/tags/1.0.0.CR1/example/auth/pom.xml
migration/idm/tags/1.0.0.CR1/example/simple/pom.xml
migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml
migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml
migration/idm/tags/1.0.0.CR1/integration/pom.xml
migration/idm/tags/1.0.0.CR1/parent/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml
migration/idm/tags/1.0.0.CR1/pom.xml
Removed:
migration/idm/tags/1.0.0.CR1/assembly/pom.xml
migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml
migration/idm/tags/1.0.0.CR1/example/auth/pom.xml
migration/idm/tags/1.0.0.CR1/example/simple/pom.xml
migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml
migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml
migration/idm/tags/1.0.0.CR1/integration/pom.xml
migration/idm/tags/1.0.0.CR1/parent/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml
migration/idm/tags/1.0.0.CR1/pom.xml
Log:
tag PicketLink IDM 1.0.0.CR1
Copied: migration/idm/tags/1.0.0.CR1 (from rev 1040, migration/idm/trunk)
Deleted: migration/idm/tags/1.0.0.CR1/assembly/pom.xml
===================================================================
--- migration/idm/trunk/assembly/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/assembly/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -1,190 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>PicketLink IDM Assembly </name>
-
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
-
- <properties>
-
<hibernate-commons-annotations>3.1.0.GA</hibernate-commons-annotations>
- <hibernate-tools-version>3.2.0.ga</hibernate-tools-version>
- <hsqldb-version>1.8.0.7</hsqldb-version>
- <idm.version>${project.version}</idm.version>
- <apache.ant.version>1.7.0</apache.ant.version>
- <mysql.connector.version>5.0.8</mysql.connector.version>
- <postgresql.version>8.3-603.jdbc3</postgresql.version>
- <jtds.version>1.2.2</jtds.version>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-api</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-common</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-spi</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-ldap</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-cache</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5</artifactId>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5-deployer</artifactId>
- <classifier>config</classifier>
- <type>zip</type>
- <version>${idm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5-deployer</artifactId>
- <classifier>deployer</classifier>
- <type>zip</type>
- <version>${idm.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-commons-annotations</artifactId>
- <version>${hibernate-commons-annotations}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-tools</artifactId>
- <version>${hibernate-tools-version}</version>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>${hsqldb-version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${apache.ant.version}</version>
- </dependency>
-
- <!-- Database Drivers -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>${mysql.connector.version}</version>
- </dependency>
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>${postgresql.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jtds</groupId>
- <artifactId>jtds</artifactId>
- <version>${jtds.version}</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>create-db-schemas</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <property name="maven.runtime.classpath"
refid="maven.compile.classpath"/>
- <ant antfile="scripts/antrun-schema.xml"
- target="create-schema">
- </ant>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-3</version>
- <executions>
-
- <execution>
- <id>create-single-jar</id>
- <phase>process-resources</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>scripts/assembly-single-jar.xml</descriptor>
- </descriptors>
- </configuration>
- <inherited>false</inherited>
- </execution>
-
- <execution>
- <id>create-distribution-package</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptors>
- <descriptor>scripts/assembly-distro.xml</descriptor>
- </descriptors>
- </configuration>
- <inherited>false</inherited>
- </execution>
-
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
-
Copied: migration/idm/tags/1.0.0.CR1/assembly/pom.xml (from rev 1044,
migration/idm/trunk/assembly/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/assembly/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/assembly/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -0,0 +1,190 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm</artifactId>
+ <version>1.0.0-CR1</version>
+ <packaging>pom</packaging>
+ <name>PicketLink IDM Assembly </name>
+
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+
+ <properties>
+
<hibernate-commons-annotations>3.1.0.GA</hibernate-commons-annotations>
+ <hibernate-tools-version>3.2.0.ga</hibernate-tools-version>
+ <hsqldb-version>1.8.0.7</hsqldb-version>
+ <idm.version>${project.version}</idm.version>
+ <apache.ant.version>1.7.0</apache.ant.version>
+ <mysql.connector.version>5.0.8</mysql.connector.version>
+ <postgresql.version>8.3-603.jdbc3</postgresql.version>
+ <jtds.version>1.2.2</jtds.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-api</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-common</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-spi</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-cache</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5</artifactId>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5-deployer</artifactId>
+ <classifier>config</classifier>
+ <type>zip</type>
+ <version>${idm.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5-deployer</artifactId>
+ <classifier>deployer</classifier>
+ <type>zip</type>
+ <version>${idm.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-commons-annotations</artifactId>
+ <version>${hibernate-commons-annotations}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-tools</artifactId>
+ <version>${hibernate-tools-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${apache.ant.version}</version>
+ </dependency>
+
+ <!-- Database Drivers -->
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>${mysql.connector.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jtds</groupId>
+ <artifactId>jtds</artifactId>
+ <version>${jtds.version}</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-db-schemas</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="maven.runtime.classpath"
refid="maven.compile.classpath"/>
+ <ant antfile="scripts/antrun-schema.xml"
+ target="create-schema">
+ </ant>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-3</version>
+ <executions>
+
+ <execution>
+ <id>create-single-jar</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>scripts/assembly-single-jar.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <inherited>false</inherited>
+ </execution>
+
+ <execution>
+ <id>create-distribution-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>scripts/assembly-distro.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <inherited>false</inherited>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
+
Deleted: migration/idm/tags/1.0.0.CR1/example/auth/pom.xml
===================================================================
--- migration/idm/trunk/example/auth/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/example/auth/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -1,178 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm.example</groupId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <artifactId>example-auth</artifactId>
- <packaging>jar</packaging>
- <name>Example - JEE authentication</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>Example maven2 project using PicketLink IDM
component.</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <layout>default</layout>
- <
url>http://snapshots.jboss.org/maven2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <
id>java.net maven repository</id>
- <
url>http://download.java.net/maven/2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-auth</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <!--<version>2.4.3</version>-->
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <target>1.5</target>
- <source>1.5</source>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>*</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>compile</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
-
<outputDirectory>${project.build.directory}/classes/</outputDirectory>
- <overWriteReleases>true</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
- <artifactId>maven-antrun-extended-plugin</artifactId>
- <version>1.13</version>
- <dependencies/>
- <executions>
- <execution>
- <id>install</id>
- <phase>install</phase>
- <configuration>
- <tasks>
-
- <jar
destfile="${basedir}/target/classes/simple-populator.jar"
- basedir="${basedir}/target/classes/"
- includes="**/*.class"/>
-
- <!-- Exploded -->
- <copy
todir="${basedir}/target/idm-example-auth-exploded.sar">
- <fileset dir="${basedir}/target/classes"/>
- </copy>
-
-
-
- <!-- Packed -->
-
- <jar
destfile="${basedir}/target/idm-example-auth.war"
-
basedir="${basedir}/target/classes/idm-example-auth.war"/>
-
-
-
-
-
- <jar
destfile="${basedir}/target/idm-example-auth.sar">
- <fileset dir="${basedir}/target/classes/"
- excludes="idm-example-auth.war/**"/>
- <fileset dir="${basedir}/target/"
- includes="idm-example-auth.war"/>
- </jar>
-
- <!--<property name="artifact.to.copy"-->
-
<!--value="${basedir}/target/idm-example-auth-exploded.sar"/>-->
- <!--<property name="toArtifact"-->
-
<!--value="idm-example-auth.sar-exploded"/>-->
-
- <property name="artifact.to.copy"
-
value="${basedir}/target/idm-example-auth.sar"/>
-
-
- <ant antfile="${basedir}/build-deploy.xml">
- <target name="deploy"/>
- </ant>
-
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
-
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/example/auth/pom.xml (from rev 1044,
migration/idm/trunk/example/auth/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/example/auth/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/example/auth/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -0,0 +1,178 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm.example</groupId>
+ <version>1.0.0-CR1</version>
+ <artifactId>example-auth</artifactId>
+ <packaging>jar</packaging>
+ <name>Example - JEE authentication</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>Example maven2 project using PicketLink IDM
component.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <
id>java.net maven repository</id>
+ <
url>http://download.java.net/maven/2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-auth</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <!--<version>2.4.3</version>-->
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <target>1.5</target>
+ <source>1.5</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/classes/</outputDirectory>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
+ <artifactId>maven-antrun-extended-plugin</artifactId>
+ <version>1.13</version>
+ <dependencies/>
+ <executions>
+ <execution>
+ <id>install</id>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
+
+ <jar
destfile="${basedir}/target/classes/simple-populator.jar"
+ basedir="${basedir}/target/classes/"
+ includes="**/*.class"/>
+
+ <!-- Exploded -->
+ <copy
todir="${basedir}/target/idm-example-auth-exploded.sar">
+ <fileset dir="${basedir}/target/classes"/>
+ </copy>
+
+
+
+ <!-- Packed -->
+
+ <jar
destfile="${basedir}/target/idm-example-auth.war"
+
basedir="${basedir}/target/classes/idm-example-auth.war"/>
+
+
+
+
+
+ <jar
destfile="${basedir}/target/idm-example-auth.sar">
+ <fileset dir="${basedir}/target/classes/"
+ excludes="idm-example-auth.war/**"/>
+ <fileset dir="${basedir}/target/"
+ includes="idm-example-auth.war"/>
+ </jar>
+
+ <!--<property name="artifact.to.copy"-->
+
<!--value="${basedir}/target/idm-example-auth-exploded.sar"/>-->
+ <!--<property name="toArtifact"-->
+
<!--value="idm-example-auth.sar-exploded"/>-->
+
+ <property name="artifact.to.copy"
+
value="${basedir}/target/idm-example-auth.sar"/>
+
+
+ <ant antfile="${basedir}/build-deploy.xml">
+ <target name="deploy"/>
+ </ant>
+
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml
===================================================================
--- migration/idm/trunk/example/auth-simple/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,100 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm.example</groupId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <artifactId>example-auth-simple</artifactId>
- <packaging>jar</packaging>
- <name>Example - JEE authentication (using deployer)</name>
- <description>Example maven2 project using PicketLink IDM
component.</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <layout>default</layout>
- <
url>http://snapshots.jboss.org/maven2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <
id>java.net maven repository</id>
- <
url>http://download.java.net/maven/2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <!--<version>2.4.3</version>-->
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <target>1.5</target>
- <source>1.5</source>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>*</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>single</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>picketlink-idm-example-auth.war</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
- <descriptors>
-
<descriptor>src/main/resources/idm-example-auth-assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml (from rev 1044,
migration/idm/trunk/example/auth-simple/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/example/auth-simple/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,100 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm.example</groupId>
+ <version>1.0.0-CR1</version>
+ <artifactId>example-auth-simple</artifactId>
+ <packaging>jar</packaging>
+ <name>Example - JEE authentication (using deployer)</name>
+ <description>Example maven2 project using PicketLink IDM
component.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <
id>java.net maven repository</id>
+ <
url>http://download.java.net/maven/2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <!--<version>2.4.3</version>-->
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <target>1.5</target>
+ <source>1.5</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>single</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>picketlink-idm-example-auth.war</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ <descriptors>
+
<descriptor>src/main/resources/idm-example-auth-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/example/simple/pom.xml
===================================================================
--- migration/idm/trunk/example/simple/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/example/simple/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,158 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm.example</groupId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <artifactId>example-simple</artifactId>
- <packaging>jar</packaging>
- <name>Example - Simple PicketLink IDM Maven2 project</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>Example maven2 project using PicketLink IDM
component.</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <layout>default</layout>
- <
url>http://snapshots.jboss.org/maven2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <
id>java.net maven repository</id>
- <
url>http://download.java.net/maven/2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-ldap</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-cache</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>1.8.0.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>sun-opends</groupId>
- <artifactId>OpenDS</artifactId>
- <version>1.0.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>berkeleydb</groupId>
- <artifactId>je</artifactId>
- <version>3.2.76</version>
- <scope>test</scope>
- </dependency>
-
- <!--Because of cache usage-->
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache</artifactId>
- <version>1.2.3</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- <version>3.3.2.GA</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>apache-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.1</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <target>1.5</target>
- <source>1.5</source>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <printSummary>true</printSummary>
- <disableXmlReport>false</disableXmlReport>
- <testFailureIgnore>false</testFailureIgnore>
- <includes>
- <include>**/*TestCase.java</include>
- </includes>
- <forkMode>pertest</forkMode>
- <argLine>${surefire.jvm.args}</argLine>
- <useFile>false</useFile>
- <trimStackTrace>false</trimStackTrace>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/example/simple/pom.xml (from rev 1044,
migration/idm/trunk/example/simple/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/example/simple/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/example/simple/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,158 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm.example</groupId>
+ <version>1.0.0-CR1</version>
+ <artifactId>example-simple</artifactId>
+ <packaging>jar</packaging>
+ <name>Example - Simple PicketLink IDM Maven2 project</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>Example maven2 project using PicketLink IDM
component.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <
id>java.net maven repository</id>
+ <
url>http://download.java.net/maven/2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-cache</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>sun-opends</groupId>
+ <artifactId>OpenDS</artifactId>
+ <version>1.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>berkeleydb</groupId>
+ <artifactId>je</artifactId>
+ <version>3.2.76</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!--Because of cache usage-->
+ <dependency>
+ <groupId>net.sf.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ <version>1.2.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-ehcache</artifactId>
+ <version>3.3.2.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>apache-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.1</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <target>1.5</target>
+ <source>1.5</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <printSummary>true</printSummary>
+ <disableXmlReport>false</disableXmlReport>
+ <testFailureIgnore>false</testFailureIgnore>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <forkMode>pertest</forkMode>
+ <argLine>${surefire.jvm.args}</argLine>
+ <useFile>false</useFile>
+ <trimStackTrace>false</trimStackTrace>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml
===================================================================
--- migration/idm/trunk/integration/deployer/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,157 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>PicketLink IDM Integration JBoss5 deployer</name>
- <description>PicketLink IDM JBoss5 deployer</description>
-
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5-deployer</artifactId>
- <packaging>jar</packaging>
- <version>1.0.0-CR1-SNAPSHOT</version>
-
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-integration</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- </parent>
-
- <properties>
- <jboss.version>5.0.0.GA</jboss.version>
- <jboss.deployers.version>2.0.3.GA</jboss.deployers.version>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-ldap</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-auth</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-cache</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>bsh</groupId>
- <artifactId>bsh</artifactId>
- <version>1.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-client</artifactId>
- <version>${jboss.deployers.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-client-spi</artifactId>
- <version>${jboss.deployers.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-spi</artifactId>
- <version>${jboss.deployers.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-structure-spi</artifactId>
- <version>${jboss.deployers.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-vfs-spi</artifactId>
- <version>${jboss.deployers.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
-
- <!-- Build -->
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <excludes>
- <exclude>META-INF/*.xml</exclude>
- <exclude>**/*.xml</exclude>
- <exclude>**/*.txt</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>deployer</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>picketlink-idm.deployer</finalName>
- <appendAssemblyId>true</appendAssemblyId>
- <descriptors>
-
<descriptor>src/main/resources/deployer-assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- <execution>
- <id>config</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>picketlink-idm-service.sar</finalName>
- <appendAssemblyId>true</appendAssemblyId>
- <descriptors>
- <descriptor>src/main/resources/idm-assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml (from rev 1044,
migration/idm/trunk/integration/deployer/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/integration/deployer/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>PicketLink IDM Integration JBoss5 deployer</name>
+ <description>PicketLink IDM JBoss5 deployer</description>
+
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5-deployer</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-CR1</version>
+
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-integration</artifactId>
+ <version>1.0.0-CR1</version>
+ </parent>
+
+ <properties>
+ <jboss.version>5.0.0.GA</jboss.version>
+ <jboss.deployers.version>2.0.3.GA</jboss.deployers.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-auth</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-cache</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>bsh</groupId>
+ <artifactId>bsh</artifactId>
+ <version>1.3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-client</artifactId>
+ <version>${jboss.deployers.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-client-spi</artifactId>
+ <version>${jboss.deployers.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-spi</artifactId>
+ <version>${jboss.deployers.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-structure-spi</artifactId>
+ <version>${jboss.deployers.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-vfs-spi</artifactId>
+ <version>${jboss.deployers.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ </dependencies>
+
+ <!-- Build -->
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <excludes>
+ <exclude>META-INF/*.xml</exclude>
+ <exclude>**/*.xml</exclude>
+ <exclude>**/*.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deployer</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>picketlink-idm.deployer</finalName>
+ <appendAssemblyId>true</appendAssemblyId>
+ <descriptors>
+
<descriptor>src/main/resources/deployer-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ <execution>
+ <id>config</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>picketlink-idm-service.sar</finalName>
+ <appendAssemblyId>true</appendAssemblyId>
+ <descriptors>
+ <descriptor>src/main/resources/idm-assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml
===================================================================
--- migration/idm/trunk/integration/jboss5/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>PicketLink IDM Integration JBoss5</name>
- <description>PicketLink IDM JBoss5</description>
-
- <groupId>org.picketlink.idm.integration</groupId>
- <artifactId>picketlink-idm-jboss5</artifactId>
- <packaging>jar</packaging>
- <version>1.0.0-CR1-SNAPSHOT</version>
-
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-integration</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- </parent>
-
- <dependencies>
-
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-ldap</artifactId>
- <version>${version}</version>
- </dependency>
- </dependencies>
-
- <!-- Build -->
- <build>
-
-
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <excludes>
- <exclude>**/*.xml</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml (from rev 1044,
migration/idm/trunk/integration/jboss5/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/integration/jboss5/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>PicketLink IDM Integration JBoss5</name>
+ <description>PicketLink IDM JBoss5</description>
+
+ <groupId>org.picketlink.idm.integration</groupId>
+ <artifactId>picketlink-idm-jboss5</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-CR1</version>
+
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-integration</artifactId>
+ <version>1.0.0-CR1</version>
+ </parent>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <version>${version}</version>
+ </dependency>
+ </dependencies>
+
+ <!-- Build -->
+ <build>
+
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <excludes>
+ <exclude>**/*.xml</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/integration/pom.xml
===================================================================
--- migration/idm/trunk/integration/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/integration/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>PicketLink IDM Integration</name>
- <description>PicketLink IDM Integration</description>
-
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-integration</artifactId>
- <packaging>pom</packaging>
-
- <!-- Parent -->
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
-
- <modules>
- <module>jboss5</module>
- <module>deployer</module>
- </modules>
-
- <!-- Plugins -->
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/integration/pom.xml (from rev 1044,
migration/idm/trunk/integration/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/integration/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/integration/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>PicketLink IDM Integration</name>
+ <description>PicketLink IDM Integration</description>
+
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-integration</artifactId>
+ <packaging>pom</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+
+ <modules>
+ <module>jboss5</module>
+ <module>deployer</module>
+ </modules>
+
+ <!-- Plugins -->
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/parent/pom.xml
===================================================================
--- migration/idm/trunk/parent/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/parent/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -1,534 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <packaging>pom</packaging>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <name>PicketLink IDM- Parent</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink is a cross-cutting project that handles identity needs
for the JEMS projects</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm/tr...
-
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbossidentity/...
- </scm>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
-
<
tagBase>https://svn.jboss.org/repos/jbossidentity/tags</tagBase>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <printSummary>true</printSummary>
- <disableXmlReport>false</disableXmlReport>
- <testFailureIgnore>false</testFailureIgnore>
- <includes>
- <include>**/*TestCase.java</include>
- </includes>
- <forkMode>pertest</forkMode>
- <argLine>${surefire.jvm.args}</argLine>
- <useFile>false</useFile>
- <trimStackTrace>false</trimStackTrace>
- <systemProperties>
- <property>
- <name>java.util.logging.config.file</name>
- <value>../parent/logging.properties</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <!-- Profiles -->
- <profiles>
-
- <profile>
- <id>hudson-jdbc-drivers</id>
- <activation>
- <property>
- <name>hudson-jdbc-drivers</name>
- </property>
- </activation>
- <repositories>
- <repository>
- <id>qa-jdbc-drivers</id>
- <
url>http://www.qa.jboss.com/jdbc-drivers/maven2/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- </profile>
-
- <!--Oracle-->
-
- <profile>
- <id>hudson-oracle9i</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>oracle9i</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc14</artifactId>
- <version>10.2.0.4</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-oracle10g</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>oracle10g</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc14</artifactId>
- <version>10.2.0.4</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-oracle11R1</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>oracle11R1</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc5</artifactId>
- <version>11.1.0.7.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-oracle11R1-RAC</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>oracle11R1-RAC</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc5</artifactId>
- <version>11.1.0.7.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <!--Sybase-->
-
- <profile>
- <id>hudson-sybase-15-0-2_8kb</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>sybase-15-0-2_8kb</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.sybase</groupId>
- <artifactId>jconnect</artifactId>
- <version>6.0.5</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-sybase-15-0-2_2kb</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>sybase-15-0-2_2kb</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.sybase</groupId>
- <artifactId>jconnect</artifactId>
- <version>6.0.5</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-sybase-15-0-3_8kb</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>sybase-15-0-3_8kb</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.sybase</groupId>
- <artifactId>jconnect</artifactId>
- <version>6.0.5</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <!--DB2-->
-
- <profile>
- <id>hudson-db2-9-1</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>db2-9-1</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.ibm</groupId>
- <artifactId>db2jcc</artifactId>
- <version>3.8.47</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.ibm</groupId>
- <artifactId>db2jcc_license_cu</artifactId>
- <version>3.8.47</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-db2-9-7</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>db2-9-7</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.ibm</groupId>
- <artifactId>db2jcc</artifactId>
- <version>3.8.47</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.ibm</groupId>
- <artifactId>db2jcc_license_cu</artifactId>
- <version>3.8.47</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <!--MS SQLServer-->
-
- <profile>
- <id>hudson-sqlserver2005</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>sqlserver2005</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>msjdbc</artifactId>
- <version>2.0.1008.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-sqlserver2008</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>sqlserver2008</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>msjdbc</artifactId>
- <version>2.0.1008.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <!--PostgreSQL-->
-
- <profile>
- <id>hudson-postgresql8-2-4</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>postgresql8-2-4</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.2-504</version>
- <classifier>jdbc3</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <profile>
- <id>hudson-postgresql8-3-7</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>postgresql8-3-7</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.3-604</version>
- <classifier>jdbc3</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
- <!--MySQL-->
-
- <profile>
- <id>hudson-mysql4-1-22</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>mysql4-1-22</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.0.8</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-mysql5-0-79-2</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>mysql5-0-79-2</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.0.8</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>hudson-mysql5-1-36</id>
- <activation>
- <property>
- <name>dataSourceName</name>
- <value>mysql5-1-36</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.7</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
-
-
- <!--Unused drivers:-->
-
- <!--<profile>-->
- <!--<id>hudson-postgresql-83</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>postgresql</groupId>-->
- <!--<artifactId>postgresql</artifactId>-->
- <!--<version>8.3-604</version>-->
- <!--<classifier>jdbc3</classifier>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
- <!--<profile>-->
- <!--<id>hudson-postgresql-83-jdbc4</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>postgresql</groupId>-->
- <!--<artifactId>postgresql</artifactId>-->
- <!--<version>8.3-604</version>-->
- <!--<classifier>jdbc4</classifier>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
- <!--<profile>-->
- <!--<id>hudson-db2jcc-357</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>com.ibm</groupId>-->
- <!--<artifactId>db2jcc</artifactId>-->
- <!--<version>3.57.86</version>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--<dependency>-->
- <!--<groupId>com.ibm</groupId>-->
- <!--<artifactId>db2jcc_license_cu</artifactId>-->
- <!--<version>3.57.86</version>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
- <!--<profile>-->
- <!--<id>hudson-db2jcc-31</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>com.ibm</groupId>-->
- <!--<artifactId>db2jcc</artifactId>-->
- <!--<version>3.1.57</version>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--<dependency>-->
- <!--<groupId>com.ibm</groupId>-->
- <!--<artifactId>db2jcc_license_cu</artifactId>-->
- <!--<version>3.1.57</version>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
- <!--<profile>-->
- <!--<id>hudson-ojdbc6</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>com.oracle</groupId>-->
- <!--<artifactId>ojdbc6</artifactId>-->
- <!--<version>11.1.0.7.0</version>-->
- <!--<scope>test</scope>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
-
- <!--Useful to pass additional driver from FS-->
-
- <!--<profile>-->
- <!--<id>provided-jdbc-driver</id>-->
- <!--<dependencies>-->
- <!--<dependency>-->
- <!--<groupId>privided</groupId>-->
- <!--<artifactId>jdbc-driver</artifactId>-->
- <!--<version>NA</version>-->
- <!--<scope>system</scope>-->
-
<!--<systemPath>${provided.jdbc.driver.path}</systemPath>-->
- <!--</dependency>-->
- <!--</dependencies>-->
- <!--</profile>-->
- </profiles>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
-
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <layout>default</layout>
- <
url>http://snapshots.jboss.org/maven2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/parent/pom.xml (from rev 1044,
migration/idm/trunk/parent/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/parent/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/parent/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -0,0 +1,534 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>3</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0-CR1</version>
+ <name>PicketLink IDM- Parent</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink is a cross-cutting project that handles identity needs
for the JEMS projects</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm/tr...
+
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbossidentity/...
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+
<
tagBase>https://svn.jboss.org/repos/jbossidentity/tags</tagBase>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <printSummary>true</printSummary>
+ <disableXmlReport>false</disableXmlReport>
+ <testFailureIgnore>false</testFailureIgnore>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <forkMode>pertest</forkMode>
+ <argLine>${surefire.jvm.args}</argLine>
+ <useFile>false</useFile>
+ <trimStackTrace>false</trimStackTrace>
+ <systemProperties>
+ <property>
+ <name>java.util.logging.config.file</name>
+ <value>../parent/logging.properties</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <!-- Profiles -->
+ <profiles>
+
+ <profile>
+ <id>hudson-jdbc-drivers</id>
+ <activation>
+ <property>
+ <name>hudson-jdbc-drivers</name>
+ </property>
+ </activation>
+ <repositories>
+ <repository>
+ <id>qa-jdbc-drivers</id>
+ <
url>http://www.qa.jboss.com/jdbc-drivers/maven2/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ </profile>
+
+ <!--Oracle-->
+
+ <profile>
+ <id>hudson-oracle9i</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>oracle9i</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.oracle</groupId>
+ <artifactId>ojdbc14</artifactId>
+ <version>10.2.0.4</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-oracle10g</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>oracle10g</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.oracle</groupId>
+ <artifactId>ojdbc14</artifactId>
+ <version>10.2.0.4</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-oracle11R1</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>oracle11R1</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.oracle</groupId>
+ <artifactId>ojdbc5</artifactId>
+ <version>11.1.0.7.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-oracle11R1-RAC</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>oracle11R1-RAC</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.oracle</groupId>
+ <artifactId>ojdbc5</artifactId>
+ <version>11.1.0.7.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!--Sybase-->
+
+ <profile>
+ <id>hudson-sybase-15-0-2_8kb</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>sybase-15-0-2_8kb</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sybase</groupId>
+ <artifactId>jconnect</artifactId>
+ <version>6.0.5</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-sybase-15-0-2_2kb</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>sybase-15-0-2_2kb</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sybase</groupId>
+ <artifactId>jconnect</artifactId>
+ <version>6.0.5</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-sybase-15-0-3_8kb</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>sybase-15-0-3_8kb</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sybase</groupId>
+ <artifactId>jconnect</artifactId>
+ <version>6.0.5</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!--DB2-->
+
+ <profile>
+ <id>hudson-db2-9-1</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>db2-9-1</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.ibm</groupId>
+ <artifactId>db2jcc</artifactId>
+ <version>3.8.47</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.ibm</groupId>
+ <artifactId>db2jcc_license_cu</artifactId>
+ <version>3.8.47</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-db2-9-7</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>db2-9-7</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.ibm</groupId>
+ <artifactId>db2jcc</artifactId>
+ <version>3.8.47</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.ibm</groupId>
+ <artifactId>db2jcc_license_cu</artifactId>
+ <version>3.8.47</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!--MS SQLServer-->
+
+ <profile>
+ <id>hudson-sqlserver2005</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>sqlserver2005</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>msjdbc</artifactId>
+ <version>2.0.1008.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-sqlserver2008</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>sqlserver2008</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>msjdbc</artifactId>
+ <version>2.0.1008.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!--PostgreSQL-->
+
+ <profile>
+ <id>hudson-postgresql8-2-4</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>postgresql8-2-4</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.2-504</version>
+ <classifier>jdbc3</classifier>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <profile>
+ <id>hudson-postgresql8-3-7</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>postgresql8-3-7</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.3-604</version>
+ <classifier>jdbc3</classifier>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!--MySQL-->
+
+ <profile>
+ <id>hudson-mysql4-1-22</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>mysql4-1-22</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.0.8</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-mysql5-0-79-2</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>mysql5-0-79-2</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.0.8</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>hudson-mysql5-1-36</id>
+ <activation>
+ <property>
+ <name>dataSourceName</name>
+ <value>mysql5-1-36</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.7</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+
+ <!--Unused drivers:-->
+
+ <!--<profile>-->
+ <!--<id>hudson-postgresql-83</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>postgresql</groupId>-->
+ <!--<artifactId>postgresql</artifactId>-->
+ <!--<version>8.3-604</version>-->
+ <!--<classifier>jdbc3</classifier>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+ <!--<profile>-->
+ <!--<id>hudson-postgresql-83-jdbc4</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>postgresql</groupId>-->
+ <!--<artifactId>postgresql</artifactId>-->
+ <!--<version>8.3-604</version>-->
+ <!--<classifier>jdbc4</classifier>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+ <!--<profile>-->
+ <!--<id>hudson-db2jcc-357</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>com.ibm</groupId>-->
+ <!--<artifactId>db2jcc</artifactId>-->
+ <!--<version>3.57.86</version>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--<dependency>-->
+ <!--<groupId>com.ibm</groupId>-->
+ <!--<artifactId>db2jcc_license_cu</artifactId>-->
+ <!--<version>3.57.86</version>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+ <!--<profile>-->
+ <!--<id>hudson-db2jcc-31</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>com.ibm</groupId>-->
+ <!--<artifactId>db2jcc</artifactId>-->
+ <!--<version>3.1.57</version>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--<dependency>-->
+ <!--<groupId>com.ibm</groupId>-->
+ <!--<artifactId>db2jcc_license_cu</artifactId>-->
+ <!--<version>3.1.57</version>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+ <!--<profile>-->
+ <!--<id>hudson-ojdbc6</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>com.oracle</groupId>-->
+ <!--<artifactId>ojdbc6</artifactId>-->
+ <!--<version>11.1.0.7.0</version>-->
+ <!--<scope>test</scope>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+
+ <!--Useful to pass additional driver from FS-->
+
+ <!--<profile>-->
+ <!--<id>provided-jdbc-driver</id>-->
+ <!--<dependencies>-->
+ <!--<dependency>-->
+ <!--<groupId>privided</groupId>-->
+ <!--<artifactId>jdbc-driver</artifactId>-->
+ <!--<version>NA</version>-->
+ <!--<scope>system</scope>-->
+
<!--<systemPath>${provided.jdbc.driver.path}</systemPath>-->
+ <!--</dependency>-->
+ <!--</dependencies>-->
+ <!--</profile>-->
+ </profiles>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <
url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-api/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,71 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-api</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM API</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM API contains the API to interact with the Identity
Model.</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doclet>org.jboss.apiviz.APIviz</doclet>
- <docletArtifact>
- <groupId>org.jboss.apiviz</groupId>
- <artifactId>apiviz</artifactId>
- <version>1.2.5.GA</version>
- </docletArtifact>
- <additionalparam>
- -charset UTF-8
- -docencoding UTF-8
- -version
- -author
- -breakiterator
- -windowtitle "${project.name} ${project.version} API
Reference"
- -doctitle "${project.name} ${project.version} API Reference"
- -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
- -link
http://java.sun.com/javase/6/docs/api/
- -sourceclasspath ${project.build.outputDirectory}
- </additionalparam>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-api/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-api/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,71 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-api</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM API</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM API contains the API to interact with the Identity
Model.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doclet>org.jboss.apiviz.APIviz</doclet>
+ <docletArtifact>
+ <groupId>org.jboss.apiviz</groupId>
+ <artifactId>apiviz</artifactId>
+ <version>1.2.5.GA</version>
+ </docletArtifact>
+ <additionalparam>
+ -charset UTF-8
+ -docencoding UTF-8
+ -version
+ -author
+ -breakiterator
+ -windowtitle "${project.name} ${project.version} API
Reference"
+ -doctitle "${project.name} ${project.version} API Reference"
+ -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
+ -link
http://java.sun.com/javase/6/docs/api/
+ -sourceclasspath ${project.build.outputDirectory}
+ </additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-auth/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,100 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-auth</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Auth</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM Auth</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>javax.security</groupId>
- <artifactId>jacc</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.security</groupId>
- <artifactId>jbosssx</artifactId>
- <version>2.0.2.GA</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doclet>org.jboss.apiviz.APIviz</doclet>
- <docletArtifact>
- <groupId>org.jboss.apiviz</groupId>
- <artifactId>apiviz</artifactId>
- <version>1.2.5.GA</version>
- </docletArtifact>
- <additionalparam>
- -charset UTF-8
- -docencoding UTF-8
- -version
- -author
- -breakiterator
- -windowtitle "${project.name} ${project.version} API
Reference"
- -doctitle "${project.name} ${project.version} API Reference"
- -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
- -link
http://java.sun.com/javase/6/docs/api/
- -sourceclasspath ${project.build.outputDirectory}
- </additionalparam>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-auth/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-auth/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,100 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-auth</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Auth</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM Auth</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.security</groupId>
+ <artifactId>jacc</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.security</groupId>
+ <artifactId>jbosssx</artifactId>
+ <version>2.0.2.GA</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doclet>org.jboss.apiviz.APIviz</doclet>
+ <docletArtifact>
+ <groupId>org.jboss.apiviz</groupId>
+ <artifactId>apiviz</artifactId>
+ <version>1.2.5.GA</version>
+ </docletArtifact>
+ <additionalparam>
+ -charset UTF-8
+ -docencoding UTF-8
+ -version
+ -author
+ -breakiterator
+ -windowtitle "${project.name} ${project.version} API
Reference"
+ -doctitle "${project.name} ${project.version} API Reference"
+ -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
+ -link
http://java.sun.com/javase/6/docs/api/
+ -sourceclasspath ${project.build.outputDirectory}
+ </additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-cache/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,82 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-cache</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Cache</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM Cache</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-core</artifactId>
- <version>3.2.1.GA</version>
- </dependency>
-
- </dependencies>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <useFile>true</useFile>
- <systemProperties>
- <property>
- <name>dataSourceName</name>
- <value>${dataSourceName}</value>
- </property>
- <property>
- <name>directoryName</name>
- <value>${directoryName}</value>
- </property>
- <property>
- <name>java.util.logging.config.file</name>
- <value>../parent/logging.properties</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
-
- </plugins>
- </build>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-cache/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-cache/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,82 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-cache</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Cache</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM Cache</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-core</artifactId>
+ <version>3.2.1.GA</version>
+ </dependency>
+
+ </dependencies>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <useFile>true</useFile>
+ <systemProperties>
+ <property>
+ <name>dataSourceName</name>
+ <value>${dataSourceName}</value>
+ </property>
+ <property>
+ <name>directoryName</name>
+ <value>${directoryName}</value>
+ </property>
+ <property>
+ <name>java.util.logging.config.file</name>
+ <value>../parent/logging.properties</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+
+ </plugins>
+ </build>
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-common/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -1,78 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-common</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Common</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM Common</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm/tr...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/idm/tr...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/idm/trunk...
- </scm>
- <dependencies>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doclet>org.jboss.apiviz.APIviz</doclet>
- <docletArtifact>
- <groupId>org.jboss.apiviz</groupId>
- <artifactId>apiviz</artifactId>
- <version>1.2.5.GA</version>
- </docletArtifact>
- <additionalparam>
- -charset UTF-8
- -docencoding UTF-8
- -version
- -author
- -breakiterator
- -windowtitle "${project.name} ${project.version} API
Reference"
- -doctitle "${project.name} ${project.version} API Reference"
- -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
- -link
http://java.sun.com/javase/6/docs/api/
- -sourceclasspath ${project.build.outputDirectory}
- </additionalparam>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-common/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml
(rev 0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-common/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -0,0 +1,78 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-common</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Common</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM Common</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/idm/tr...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/idm/tr...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/idm/trunk...
+ </scm>
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ </dependencies>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doclet>org.jboss.apiviz.APIviz</doclet>
+ <docletArtifact>
+ <groupId>org.jboss.apiviz</groupId>
+ <artifactId>apiviz</artifactId>
+ <version>1.2.5.GA</version>
+ </docletArtifact>
+ <additionalparam>
+ -charset UTF-8
+ -docencoding UTF-8
+ -version
+ -author
+ -breakiterator
+ -windowtitle "${project.name} ${project.version} API
Reference"
+ -doctitle "${project.name} ${project.version} API Reference"
+ -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
+ -link
http://java.sun.com/javase/6/docs/api/
+ -sourceclasspath ${project.build.outputDirectory}
+ </additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-core/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,110 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-core</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Implemnentation</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM IMPL contains the implementation of the API and the
Identity Model.</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-spi</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>2.1.8</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>sun-opends</groupId>
- <artifactId>OpenDS</artifactId>
- <version>1.0.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>berkeleydb</groupId>
- <artifactId>je</artifactId>
- <version>3.2.76</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <systemProperties>
- <property>
- <name>dataSourceName</name>
- <value>${dataSourceName}</value>
- </property>
- <property>
- <name>directoryName</name>
- <value>${directoryName}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-core/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-core/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,110 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-core</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Implemnentation</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM IMPL contains the implementation of the API and the
Identity Model.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.8</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>sun-opends</groupId>
+ <artifactId>OpenDS</artifactId>
+ <version>1.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>berkeleydb</groupId>
+ <artifactId>je</artifactId>
+ <version>3.2.76</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>dataSourceName</name>
+ <value>${dataSourceName}</value>
+ </property>
+ <property>
+ <name>directoryName</name>
+ <value>${directoryName}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+
+</project>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,2221 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
- <!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
- ]>
-<book>
-
- <bookinfo>
- <title>PicketLink IDM</title>
-
- <subtitle>Reference Guide</subtitle>
-
- <xi:include href="Author_Group.xml"
-
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-
- <releaseinfo>
- 1.0.0.Beta4
- </releaseinfo>
-
-
- </bookinfo>
-
- <preface>
- <title>What this Book Covers</title>
- <para>This book aims to help you become familiar with PicketLink
- IDM component</para>
- <para>Part I 'Design and Architecture' introduces the the main
concepts behind framework design</para>
- <para>Part II 'Concepts behind API to SPI mappings' describes
framework concepts in a more detailed way and explains
- relationship between API and SPI layer.</para>
- <para>Part III 'Quick Start' provides a reader with best way to start
playing with the framework</para>
- <para>Part IV 'Configuration' describes framework configuration.
- </para>
- <para>Part VI 'IdentityStore Implementations' provides detailed view
on provided IdentityStore implementations.
- </para>
- <para>Part VII 'IdentityStoreRepository Implementations' provides
detailed view on provided IdentityStoreRepository
- implementations.
- </para>
- <para>Part VIII 'Attributes' describes how attributes can be used in
the API.
- </para>
- <para>Part IX 'Credentials' describes how credentials can be used in
the API.
- </para>
- <para>Part X 'Deployment' provides additional insight on how IDM
component can be leveraged inside JEE container.
- </para>
- </preface>
-
- <part>
- <title>Design and Architecture</title>
-
- <chapter id="main_concepts">
- <title>Main Concepts</title>
-
- <para>PicketLink IDM aims to provide a common identity model for
various JBoss projects.
- As every project has it's own specific needs it's hard to design
a common API and identity model that will
- fit all of them. Therefore PicketLink IDM architecture consists of two
main parts:</para>
-
- <itemizedlist>
- <listitem>
- <para><emphasis role="bold">Core
SPI</emphasis> with an abstract identity model that provides the
- flexibility for defining different identity object types and
possible relationships between them.</para>
- </listitem>
-
- <listitem>
- <para><emphasis role="bold">Common
API</emphasis> with a simpler identity model that fits most common use cases.
Identity model has more
- strictly defined object types and possible
relationships.</para>
- </listitem>
- </itemizedlist>
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/IDM-global-arch.png"
format="PNG"/>
- </imageobject>
- <caption align="right">
- <para>
- <emphasis role="bold">PicketLink IDM
architecture</emphasis>
- </para>
- </caption>
- </mediaobject>
- <para>
- Too much abstraction in the API layer would confuse people using the
framework.
- One of the goals is to make the design easily extendible. Framework
adopters should be able to remove the
- API layer and reuse core SPI implementation if needed.
- </para>
-
- </chapter>
-
- <chapter id="api_model">
- <title>API Model</title>
- <para>
- The API operates on the identity model that is defined by a set of
following interfaces:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.IdentityType</emphasis>
- - is a parent interface for Group and Identity
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.Identity</emphasis>
- - represents Identity which can be a user
- (within organization) or a machine (in authentication or security
use case)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.Group</emphasis>
- - represents typed Group
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.GroupType</emphasis>
- - represents type of a Group. It can be an organization,
organization unit, administration group,
- global role, community or any other entity.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.Role</emphasis>
- - represents one to one relationship between Identity and Group.
Role has a type.
- The idea behind the concept is described below.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.RoleType</emphasis>
- - represents type of a Role.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.Attribute</emphasis>
- - represents attribute connected with IdentityType (Group or
Identity).
- Can have many complex type values (text or binary).
AttributeDescription describes such
- properties of Attribute like: name, type of values, readonly,
multivalued, required.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.Credential</emphasis>
- - represents credential connected with Identity.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.api.CredentialType</emphasis>
- - represents type of a Credential. For example it can be text
password or binary certificate.
- </para>
- </listitem>
-
- </itemizedlist>
-
- </chapter>
-
- <chapter id="group_and_roles">
- <title>Groups and Roles</title>
- <para>
- Groups are entities that can contain other group or identity objects.
They can be associated in a tree
- like organizational structures. Those don't need to be hierarchical
only as single group can be a member
- of many other groups (can have many parents). Possible relationships
between groups are shaped with group
- types. It can be configured which different group types can be associated
or even which group types can
- or can not contain identity objects. Groups have unique names per group
type. This means you can have
- two groups with the same name but different group type.
- </para>
- <para>
- Roles are direct typed connections between Identity and Group objects. If
you think about a sentence:
- "<emphasis role="bold">John</emphasis> is the
<emphasis role="bold">Manager</emphasis> of
- <emphasis role="bold">XX Team"</emphasis> what
matters is the context. So "John (Identity) is the Manager (RoleType)
- of XX Team (Group)". The whole sentence describes the Role that John
has. This type of information is hard
- to map with typical Group object as John can be a manager of several
different groups and other identities
- (Marry, Jack, Stan...) can have the same RoleType in context of different
groups (XY Team, YY Team).
- Within each Realm (concept of Realms is described later) we can define
several RoleType objects with
- unique names. Each Role defines a unique combination of Identity, Group
and RoleType within Realm.
- Role concept is very powerful but its not natural in all identity store
types. While quite easy to map in
- a relational database it doesn't fit into every LDAP tree present in
organizations. Because of this Role
- support is optional in the API level
- </para>
- </chapter>
-
- <chapter id="spi_model">
- <title>SPI (Abstract) Model</title>
- <para>
- SPI Model contains following interfaces:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObject</emphasis>
- - represents identity object. Contains information
- about object name and type (IdentityObjectType). Name and
IdentityObjectType pair should be unique
- within realm.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectType</emphasis>
- - represents identity object type. Name of IdentityType is
unique.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectAttribute</emphasis>
- - attribute assigned to IdentityObject
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectCredential</emphasis>
- - credential assigned to IdentityObject
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectCredentialType</emphasis>
- - represents type of IdentityObjectCredential.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectRelationship</emphasis>
- - Directional relationship between
- two IdentityObject objects. Relationship is directional as it
keeps information about from and to
- IdentityObject. Each IdentityObjectRelationship has a type
(IdentityObjectRelationshipType) and can
- have a name (not required).
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectRelationshipType</emphasis>
- - named type of relationship
- </para>
- </listitem>
- </itemizedlist>
-
- <para>
- Model described above is very flexible as IdentityObjectType is able to
map any kind of entities.
- Identity object and Group/GroupType objects are only one of many possible
options (API is a subset of
- SPI possibilities). IdentityObjectRelationship defines a connection
between any two IdentityObject
- objects. Each IdentityObjectRelationship has a type. To map previously
described API two
- IdentityObjectRelationshipType objects are needed. One to map normal
MEMBERSHIP like between an Identity
- and a Group or Group and Group objects. Second one to map Role concept.
For API Role - RoleType refers
- to the name of the IdentityObjectRelationship. In default Hibernate
implementation possible names of
- IdentityObjectRelationship are kept in a separate table. All of those can
be easily redefined to support
- different kind of API.
- </para>
-
- </chapter>
-
- <chapter id="architecture">
- <title>Architecture</title>
- <para>
- The most important part of architecture is a split between the API and
the SPI.
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/IDM-api-spi.png"
format="PNG"/>
- </imageobject>
- <caption align="right">
- <para>
- <emphasis role="bold">PicketLink IDM
architecture</emphasis>
- </para>
- </caption>
- </mediaobject>
- <para>
- API part contains of following interfaces:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis role="bold">Realm</emphasis>
- - described later in this document. Groups configuration of
several identity stores and exposes
- all of them with one consistent identity model.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentitySessionFactory</emphasis>
- - Main entry point in the API. Enables to create/get
IdentitySession for a given Realm
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentitySession</emphasis> - Session that groups all
identity management
- operation. Contains transaction support and exposes four managers
that handle all identity management operations.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">PersistenceManager</emphasis>
- - Operates witin IdentitySession. Performs all operations on
Identity and Group objects. Create/Remove/Find
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">RelationshipManager</emphasis>
- - Operates witin IdentitySession. Associate and deassociate
Identity and Group objects.
- Find Idenity and Group objects depending on their relationships
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">RoleManager</emphasis> - Operates witin IdentitySession.
Operations on Role objects.
- Optional feature.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">AttributeManager</emphasis> - Operates witin
IdentitySession. Manages Identity
- and Group (IdentityType objects) attributes. Each configured
attribute is described with AttributeDescription interface
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">SearchCriteria</emphasis> - Enables to apply additional
conditions to search operations.
- May be leveraged to receive results sorted, paginated or filtered
with attributes.</para>
- </listitem>
- </itemizedlist>
- <para>
-
- SPI part contains of following interfaces
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityStoreSession</emphasis>
- - Session that groups all identity management operations within
identity persistence stores.</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityStoreSessionFactory</emphasis>
- - Entry point in the SPI to initialize IdentityStoreSession inside
IdentityStore or AttributeStore.</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityStoreInvocationContext</emphasis>
- - IdentityStoreSession aware context object that is passed during
any invocation of AttributeStore
- or IdentityStore methods. Thanks to this actual store
implementation doesn't need to be aware of
- current session state. Therefore one instance of AttributeStore or
IdentityStore can be invoked by
- different realms at the same time.</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">AttributeStore</emphasis> - Exposes operations on identity
store with attributes.
- This is a separate interface as in multi store configuration
scenario, profile may need to be
- stored outside of actual data store for a given identity (LDAP +
DB)</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityStore</emphasis> - Extends AttributeStore.
Implementation of
- this interface performs operations on the real data
store.</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityStoreRepository</emphasis> - Extends IdentityStore.
Groups
- several IdentityStore objects and exposes operations on them
within single interface for the
- API. The implementation is responsible for aggregate identity
objects from many configured
- underlaying IdentityStore objects and map different
IdentityObjectTypes between them.
- The place where the whole magic happens </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">IdentityObjectSearchControl</emphasis> - Enables to apply
additional conditions to
- search operations. May be leveraged to receive results sorted,
paginated or filtered withattributes.</para>
- </listitem>
- </itemizedlist>
-
-
-
- </chapter>
-
- <chapter id="realms">
- <title>Realms</title>
- <para>
- The purpose of a Realm is to group configuration of several identity
stores. IdentitySession exposes
- operations within single Realm
- </para>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/IDM-global-realm.png"
format="PNG" contentwidth="6in"
- contentdepth="6in"/>
- </imageobject>
- <caption align="right">
- <para>
- <emphasis role="bold">PicketLink IDM
architecture</emphasis>
- </para>
- </caption>
- </mediaobject>
-
- </chapter>
-
- </part>
-
- <part>
- <title>Concepts behind API to SPI mappings</title>
- <chapter>
- <title>Introduction</title>
- <para>The most confusing part of the framework is probably connection
between API and SPI. This part will
- try to explain how operations on API model are translated into the SPI.
It will also enable to
- dive in the API and framework capabilities by looking on realcode
examples
- </para>
- </chapter>
- <chapter>
- <title>User and Group</title>
- <para>
- Objects represented by User and Group interfaces are managed by
PersistenceManager.
- In the example below 3 users and 4 groups are created.
- </para>
- <programlisting role="java">
-PersistenceManager pm = identitySession.getPersistenceManager();
-User johnUser = pm.createUser("John");
-User annUser = pm.createUser("Ann");
-User stefanUser = pm.createUser("Stefan");
-
-String OFFICE = "OFFICE";
-String DEPARTMENT = "DEPARTMENT";
-
-Group parisOffice = pm.createGroup("Paris", OFFICE);
-Group atlantaOffice = pm.createGroup("Atlanta", OFFICE);
-
-assertEquals(OFFICE, parisOffice.getGroupType());
-
-Group itDep = pm.createGroup("IT", DEPARTMENT);
-Group hrDep = pm.createGroup("HR", DEPARTMENT);
- </programlisting>
- <para>
- At the SPI level both Group and User are mapped as IdentityObject. What
differentiate them is the
- IdentityObjectType. IdentityObjectType "USER" is mapped to
represent User objects while other are
- mapped to represent different Group types names.
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/SPI1.png"
format="PNG"/>
- </imageobject>
- <!--<caption align="right">-->
- <!--<para>-->
- <!--<emphasis role="bold"></emphasis>-->
- <!--</para>-->
- <!--</caption>-->
- </mediaobject>
-
- </chapter>
- <chapter>
- <title>Associations</title>
- <para>Group and Users can be associated. This represents simple
relationship that can be described like
- "user John belongs to Group IT". Association can be created
between Group and User or between two Groups.</para>
- <para>Those operations are managed by
RelationshipManager:</para>
- <programlisting role="java">
-RelationshipManager rm = identitySession.getRelationshipManager();
-
-rm.associateUser(parisOffice, annUser);
-rm.associateUser(atlantaOffice, stefanUser);
-rm.associateUser(itDep, stefanUser);
-
-assertTrue(rm.isAssociated(parisOffice, annUser));
- </programlisting>
- <para>
- At the SPI level this is mapped to IdentityObjectRelationship entity.
This relationship has a type.
- Simple assotiations can be marked with a type named
"JBOSS_IDENTITY_MEMBERSHIP"
- (this is implementation detail) which describes simple membership. Note
that IdentityObjectRelationship
- creates a connection between any two IdentityObject entities.
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/SPI2.png"
format="PNG"/>
- </imageobject>
- <!--<caption align="right">-->
- <!--<para>-->
- <!--<emphasis role="bold"></emphasis>-->
- <!--</para>-->
- <!--</caption>-->
- </mediaobject>
- </chapter>
- <chapter>
- <title>Role</title>
- <para>Roles are direct typed connections between Identity and Group
objects. If you think about a sentence:
- "John is the Manager of XX Team" what matters is the context.
So "John (Identity) is the Manager
- (RoleType) of XX Team (Group)". The whole sentence describes the
Role that John has. This type of
- information is hard to map with typical Group object as John can be a
manager of several different
- groups and other identities (Marry, Jack, Stan...) can have the same
RoleType in context of different
- groups (XY Team, YY Team). Within each Realm (concept of Realms is
described later) we can define
- several RoleType objects with unique names. Each Role defines a unique
combination of Identity, Group
- and RoleType within Realm.</para>
- <para>
- Roles are managed with RoleManager interface:
- </para>
- <programlisting role="java">
-RoleManager roleManager = identitySession.getRoleManager();
-
-roleManager.createRoleType("manager");
-RoleType adminRT = roleManager.createRoleType("administrator");
-
-Role role1 = roleManager.createRole("manager", annUser.getId(),
parisOffice.getId());
-roleManager.createRole(adminRT, stefanUser, itDep);
-
-assertTrue(roleManager.hasRole(stefanUser, itDep, adminRT));
-
- </programlisting>
- <para>
- At the SPI level the main difference between plain association is that
IdentityObjectRelationship has
- a IdentityObjectRelationshipName which is simple mapping of a RoleType
used in the API
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="./images/SPI3.png"
format="PNG"/>
- </imageobject>
- <!--<caption align="right">-->
- <!--<para>-->
- <!--<emphasis role="bold"></emphasis>-->
- <!--</para>-->
- <!--</caption>-->
- </mediaobject>
- <para>
- What is important to note about the Role concept is that it is not
natural in all kinds of
- identity stores. Entities represented on attached figures are easy to map
in the database.
- However in store like LDAP typical relationships are represanted in a
more plain manner. For example:
- </para>
- <programlisting>
- <![CDATA[
-dn: uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
-objectclass: top
-objectclass: inetOrgPerson
-objectclass: person
-uid: admin
-cn: Java Duke
-sn: Duke
-userPassword: admin
-mail: email(a)email.com
-
-dn: cn=Administrators,ou=Groups,o=test,dc=portal,dc=example,dc=com
-objectClass: top
-objectClass: groupOfNames
-cn: Administrators
-description: Portal admin role
-member: uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
- ]]>
- </programlisting>
- <para>
- The whole relationship between User "admin" and Group
"Administrators" is described by one attribute
- value ("member"). In such typical LDAP tree shape there is no
place to store additional
- information that are needed to describe Role shown above. Obviously it is
possible to shape
- LDAP tree in a way that will allow such a mapping but in most cases it is
not possible to
- redesign already used LDAP server tree.
- </para>
-
- </chapter>
- </part>
-
-
-
-
-
- <part>
- <title>Quick Start</title>
- <!--<para>-->
- <!--Please read JBossIdentity IDM Design and Architecture to understand all
concepts behind the framework.-->
- <!--</para>-->
-
- <chapter>
- <title>Test Cases</title>
- <para>
- One of the best ways to get familiar with the PicketLink IDM component is
to look at the source code.
- You will find link to the subversion repository in the project webpage.
- There are couple of quite meaningful testcases there. One of the best to
start with is
- org.picketlink.idm.impl.api.OrganizationTest under
'idm-testsuite' module . It contains two example identity structures.
- One mapping hierarchical organization of Red Hat and JBoss projects and
the other describes theoretical
- portal tree for ACME company.
- </para>
-
- </chapter>
- <chapter>
- <title>Examples</title>
- <para>
- As PicketLink IDM is a Maven2 based project it is very easy to leverage
it from this build system.
- There is a ready to use Maven2 example project in the svn. It contains
three sample test cases for with
- following configurations:
- </para>
- <itemizedlist>
- <listitem>
- <para>database setup</para>
- </listitem>
- <listitem>
- <para>LDAP setup</para>
- </listitem>
- <listitem>
- <para>mixed LDAP + database setup</para>
- </listitem>
- </itemizedlist>
- <para>
- Sample project uses embedded OpenDS and HSQLDB so there is no need for
any additional setup to be able to
- play with the API.
- </para>
- </chapter>
- <chapter>
- <title>Needed files</title>
- <para>Although the best way to start playing with the framework is to
look at Maven2 sample project
- mentioned above lets list minimal set of configuration files. To setup the
basic framework core depending
- on hibernate IdentityStore two files will be needed</para>
- <para>
- <emphasis role="bold">idm-config.xml</emphasis> -
that will set proper configuration for all
- framework components described in section above. Sample one below.
- </para>
- <programlisting>
- <![CDATA[
-<?xml version="1.0" encoding="UTF-8"?>
-<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
- <realms>
- <realm>
- <id>realm://JBossIdentityExample/SampleRealm</id>
- <repository-id-ref>Sample Repository</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- </realms>
- <repositories>
- <repository>
- <id>Sample Repository</id>
-
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Sample DB
Store</default-identity-store-id>
- <default-attribute-store-id>Sample DB
Store</default-attribute-store-id>
- </repository>
- </repositories>
- <stores>
- <attribute-stores/>
- <identity-stores>
- <identity-store>
- <id>Sample DB Store</id>
-
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
-
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
-
<relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- <name>USER</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>GROUP</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>picture</name>
- <mapping>user.picture</mapping>
- <type>binary</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- </attributes>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>GROUP</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>GROUP</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>GROUP</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <option>
- <name>hibernateConfiguration</name>
- <value>hibernate-jboss-identity.cfg.xml</value>
- </option>
- <option>
- <name>populateRelationshipTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>populateIdentityObjectTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- <option>
- <name>isRealmAware</name>
- <value>true</value>
- </option>
- </options>
- </identity-store>
- </identity-stores>
- </stores>
-</jboss-identity>
- ]]>
- </programlisting>
-
- <para>
- <emphasis role="bold">hibernate.cfg.xml</emphasis> -
hibernate SessionFactory setup
- </para>
-
- <programlisting>
- <![CDATA[
-<!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD//EN"
- "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
-<hibernate-configuration>
- <session-factory>
-
-
- <property
name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
-
- <property name="show_sql">false</property>
- <property
name="cache.use_second_level_cache">true</property>
- <property name="cache.use_query_cache">true</property>
-
-
- <property
name="current_session_context_class">thread</property>
-
- <!--<property
name="connection.datasource"></property>-->
-
- <property
name="hibernate.connection.url">jdbc:hsqldb:mem:unit-testing-jpa1</property>
- <property
name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
- <property
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
- <property
name="hibernate.hbm2ddl.auto">create-drop</property>
- <property
name="hibernate.connection.username">sa</property>
- <property name="hibernate.connection.password"></property>
-
- </session-factory>
-</hibernate-configuration>
- ]]>
- </programlisting>
- </chapter>
-
- </part>
-
- <part>
- <title>Configuration</title>
-
- <chapter>
- <title>IdentitySessionFactory</title>
- <para>IdentitySessionFactory interface is a main entry point into the
API. Default implementation
- IdentitySessionFactoryImpl has two constructors:</para>
- <itemizedlist>
- <listitem>
- <para>public
IdentitySessionFactoryImpl(IdentityConfigurationMetaData configMD) throws
Exception</para>
- </listitem>
- <listitem>
- <para>public IdentitySessionFactoryImpl(File configFile) throws
Exception</para>
- </listitem>
- </itemizedlist>
- <para>
- Framework configuration can be defined in two ways. It can be passed as
implementation of a set of
- metadata interfaces grouped in
org.picketlink.idm.spi.configuration.metadata package. Main one
- is IdentityConfigurationMetaData.
- </para>
- <para>
- Other possibility is to use xml configuration file that will be
unmarshaled into JAXB model
- (org.picketlink.idm.impl.configuration.jaxb2.generated package) and used
to create
- IdentityConfigurationMetaData object. XML configuration is described by
identity-config.xsd file.
- It is good to take a look at the example organization-test-config.xml
that is used in the testsuite.
- </para>
- </chapter>
- <chapter>
- <title>XML Configuration</title>
- <programlisting>
- <![CDATA[
-<jboss-identity xmlns="urn:jboss:identity:idm:config:v1_0_alpha"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:jboss:identity:idm:config:v1_0_alpha
identity-config.xsd">
- <realms/>
- <repositories/>
- <stores/>
-</jboss-identity>
- ]]>
- </programlisting>
- <para>Identity XML configuration can be divided into three
parts:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold"><![CDATA[<stores/>]]></emphasis>
- - defines IdentityStore and AttributeStore instances</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold"><![CDATA[<repositories/>]]></emphasis>
- - defines IdentityStoreRepository instances</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold"><![CDATA[<realms/>]]></emphasis>
- - defines identity realms</para>
- </listitem>
- </itemizedlist>
- </chapter>
- <chapter>
- <title>IdentityStore</title>
- <para>This part is represented by
- <emphasis
role="bold"><![CDATA[<stores><identity-store>...]]></emphasis>
- element</para>
- <programlisting>
- <![CDATA[
-<stores>
- <attribute-stores/>
- <identity-stores>
- <identity-store> ... </identity-store>
- <identity-store> ... </identity-store>
- </identity-stores>
- </stores>
- ]]>
- </programlisting>
- <note>
- <para><emphasis
role="bold"><![CDATA[<stores/>]]></emphasis>
- element contains <emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
- and <emphasis
role="bold"><![CDATA[<attribute-store>]]></emphasis>
- elements. Currently <emphasis
role="bold"><![CDATA[<attribute-store>]]></emphasis>
- configuration is ignored so only <emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
- elements can be configured.</para></note>
- <programlisting>
- <![CDATA[
-<identity-store>
- <id>Sample Hibernate Store</id>
-
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
- <relationship-type>
- JBOSS_IDENTITY_MEMBERSHIP
- </relationship-type>
- <relationship-type>
- JBOSS_IDENTITY_ROLE
- </relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- ...
- </identity-object-type>
-
- ...
-
-
- <identity-object-type>
- ...
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <option>
- <name>persistenceUnit</name>
- <value>jboss-identity-model-xxx</value>
- </option>
- <option>
- <name>otherOption</name>
- <value>value1</value>
- <value>value2</value>
- <value>value3</value>
- </option>
- </options>
-</identity-store>
- ]]>
- </programlisting>
-
- <para><emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
element:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis role="bold">id</emphasis>
- IdentityStore id</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">class</emphasis> - IdentityStore class name</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">external-config</emphasis> - external configuration file
used by IdentityStore</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">supported-relationship-types</emphasis>
- - IdentityObjectRelationshipType names that are supported by this
- IdentityStore. JBOSS_IDENTITY_MEMBERSHIP is standard value used
by default framework implementation
- for membership type relationships (between two Group objects) and
JBOSS_IDENTITY_ROLE is standard
- value for Role type memberships (named
relationships)</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">supported-identity-object-types</emphasis>
- - configuration of IdentityObjectType objects mapped by
IdentityStore</para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">options</emphasis> -
other IdentityStore configuration options</para>
- </listitem>
- </itemizedlist>
-
- <programlisting>
- <![CDATA[
-<supported-identity-object-types>
- <identity-object-type>
- <name>OFFICE</name>
- <relationships>
- <relationship>
- <relationship-type-ref>
- JBOSS_IDENTITY_MEMBERSHIP
- </relationship-type-ref>
- <identity-object-type-ref>
- IDENTITY
- </identity-object-type-ref>
- </relationship>
- <relationship>
- <relationship-type-ref>
- JBOSS_IDENTITY_MEMBERSHIP
- </relationship-type-ref>
- <identity-object-type-ref>
- CONFERENCE_ROOM
- </identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
-
- <identity-object-type>
- <name>IDENTITY</name>
- <relationships>
- <relationship>
- <relationship-type-ref>
- JBOSS_IDENTITY_ROLE
- </relationship-type-ref>
- <identity-object-type-ref>
- COMMUNITY
- </identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- <credential-type>BINARY</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>picture</name>
- <mapping>user.picture</mapping>
- <type>binary</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- </attributes>
- </identity-object-type>
-</supported-identity-object-types>
- ]]>
-
- </programlisting>
-
- <para>
- <![CDATA[<identity-object-type>]]> element:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">name</emphasis>- IdentityObjectType name</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">relationships</emphasis>
- - relationships in which IdentityObjectType can be parent side.
- <emphasis
role="bold"><![CDATA[<relationship-type-ref>]]></emphasis>
must point to one of values from
- <emphasis
role="bold"><![CDATA[<supported-relationship-types>]]></emphasis>
- . <emphasis
role="bold"><![CDATA[<identity-object-type-ref>]]></emphasis>
- must be one of <emphasis
role="bold"><![CDATA[<identity-object-type><name>]]></emphasis>
- values configured in this IdentityStore.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">credentials</emphasis>
- - IdentityObjectCredentialType names allowed for this
IdentityObjectType</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">attributes</emphasis> - allowed attribute mappings. Each
contains:
-
- <itemizedlist>
- <listitem>
- <para>
- <emphasis
role="bold">name</emphasis> - attribute name
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">mapping</emphasis> - real name to be used inside
IdentityStore. For example LDAP attribute name
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">type</emphasis> - either "binary" or
"text" value
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">isRequired</emphasis> - if attribute cannot have no values
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">isMultivalued</emphasis> - if attribute can have many
values
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">isReadonly</emphasis> - if attribute values can be
modified
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">options</emphasis> - other options for IdentityObjectType
configuration</para>
- </listitem>
- </itemizedlist>
- </chapter>
- <chapter>
- <title>IdentityStoreRepository</title>
- <para>This section is represented by <emphasis
role="bold">
<![CDATA[<repositories><repository>]]></emphasis>
- element</para>
- <programlisting>
- <![CDATA[
-<repositories>
-
- <repository>
- <id>X</id>
- <class>
- org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository
- </class>
- <external-config/>
- <default-identity-store-id>
- Hibernate Identity Store
- </default-identity-store-id>
- <default-attribute-store-id>
- Hibernate Identity Store
- </default-attribute-store-id>
- <options>
- </repository>
-
- <repository>
- <id>Y</id>
- <class>
- org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository
- </class>
- <external-config/>
- <default-identity-store-id>
- Hibernate Identity Store
- </default-identity-store-id>
- <default-attribute-store-id>
- Hibernate Identity Store
- </default-attribute-store-id>
- <identity-store-mappings>
- <identity-store-mapping>
- <identity-store-id>
- Hibernate Identity Store
- </identity-store-id>
- <identity-object-types>
- <identity-object-type>
- PROJECT
- </identity-object-type>
- <identity-object-type>
- PEOPLE
- </identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- <identity-store-mapping>
- <identity-store-id>
- LDAP Identity Store
- </identity-store-id>
- <identity-object-types>
- <identity-object-type>
- IDENTITY
- </identity-object-type>
- <identity-object-type>
- ORGANIZATION
- </identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- </identity-store-mappings>
- <options/>
- </repository>
-
-</repositories>
- ]]>
-
- </programlisting>
-
- <para><emphasis
role="bold"><![CDATA[<repository>]]></emphasis> element
contains:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis role="bold">id</emphasis>
- IdentityStoreRepository id.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">class</emphasis> - class name of IdentityStoreRepository
implementation.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">external-config</emphasis> - external configuration file
used by
- IdentityStoreRepository.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">default-identity-store-id</emphasis> - id of configured
IdentityStore
- to be used by default.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">default-attribute-store-id</emphasis> - id of configured
AttributeStore
- (or IdentityStore) to be used by default</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">identity-store-mappings</emphasis> - optional element.
Mappings between
- IdentityObjectType names and IdentityStore ids. </para>
- </listitem>
- </itemizedlist>
- </chapter>
- <chapter>
- <title>Realm</title>
- <para>This section is represented by <emphasis
role="bold"><![CDATA[<realms><realm>]]></emphasis>
element</para>
-
- <programlisting>
- <![CDATA[
-<realm>
- <id>realm://RedHat/DB</id>
- <repository-id-ref>RedHat Repository DB</repository-id-ref>
- <identity-type-mappings>
- <identity-mapping>IDENTITY</identity-mapping>
- </identity-type-mappings>
-</realm>
- ]]>
-
- </programlisting>
-
- <para>
- <emphasis
role="bold"><![CDATA[<realm>]]></emphasis> element
contains:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis role="bold">id</emphasis>
- realm id</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">repository-id-ref</emphasis> - id of configured
IdentityStoreRepository </para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">identity-type-mappings</emphasis>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">identity-mapping</emphasis>
- - name of IdentityObjectType that should be maped as
Identity
- object on the API side</para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- </itemizedlist>
-
- </chapter>
- </part>
-
- <part>
- <title>IdentityStore Implementations</title>
- <chapter>
- <title>Overview</title>
- <para>
- This part describes different IdentityStore implementations that comes
with the framework and their
- configuration options
- </para>
- </chapter>
-
- <chapter>
- <title>Hibernate IdentityStore</title>
- <sect1>
- <title>Class Name</title>
-
<para>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</para>
- </sect1>
- <sect1>
- <title>Overview</title>
- <para> HibernateIdentityStoreImpl maps PicketLink IDM SPI model
into Hibernate entities.
- This enables to use any RDBMS supported by Hibernate as identity
persistence store (IdentityStore).
- Because of flexibility that ORM gives this IdentityStore
implementation support all of the optional
- design concepts like role management. It can be used as the default
IdentityStore together with other
- more limited implementations. For example in combination with LDAP
IdentityStore it can handle
- IdentityObject attributes that are not supported in LDAP schema. In
such configuration part of
- IdentityObject profile will be stored in LDAP and part in relational
database. To learn more about
- such setup please read FallbackIdentityStoreRepository documentation.
In current version
- implementation doesn't have any caching mechanism besides of what
can be set in hibernate
- configuration</para>
- </sect1>
- <sect1>
- <title>Configuration Options</title>
- <para>
- <itemizedlist>
-
- <listitem>
- <para><emphasis
role="bold">hibernateConfiguration</emphasis>
- - the hibernate configuration file that will be used to
- create SessionFactory</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">hibernateSessionFactoryJNDIName</emphasis>
- - JNDI name of hibernate SessionFactory that will be used
- to obtain it</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">hibernateSessionFactoryRegistryName</emphasis>
- - name of hibernate SessionFactory placed in the
- IdentityConfigurationRegistry that will be used to obtain
it</para>
- </listitem>
- <listitem>
- <para>
- <emphasis
role="bold">addHibernateMappings</emphasis>
- - of set to true all annotated hibernate model classes
will be added
- to the hibernate configuration before SessionFactory is
created</para>
- </listitem>
-
- <listitem>
- <para>
- <emphasis
role="bold">populateRelationshipTypes</emphasis>
- - true/false - Populate configured
<![CDATA[<supported-relationship-types>]]>
- (IdentityObjectRelationshipType in SPI model) during
IdentityStore initialization.
- Default value is 'false'</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">populateIdentityObjectTypes</emphasis>
- - true/false - Populate configured
<![CDATA[<supported-identity-object-types>]]>
- (IdentityObjectType in SPI model) during IdentityStore
initialization. Default value is 'false'</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">allowNotDefinedAttributes</emphasis>
- - true/false - Allow to set IdentityObject attributes
that
- are not specified in
<![CDATA[<identity-object-type>]]> configuration. Such attributes
- are assumed to have "text" type and many
values. Default value is 'false'.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">isRealmAware</emphasis>
- - true/false - If set to true HibernateIdentityStoreImpl
will create
- separate namespaces for different Realms from which
method invocations come. This means
- that each IdentityObject, IdentityObjectRelationship and
IdentityObjectRelationshipName
- will be connected and only accessible with a realm name
in which it was created. Entities
- representing IdentityObjectType,
IdentityObjectCredentialType and IdentityObjectRelationshipType
- are always same for all realms and not affected with this
option. Default value is 'false'. </para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">manageTransactionDuringBootstrap</emphasis>
- - true/false - indicate that transactions should be
managed
- manually during store bootstrap when initial entities are
created. </para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">allowNotDefinedIdentityObjectTypes</emphasis>
- - true/false - indicate that store won't check
- for a given IdentityObjectType configuration and if one is
not specified it will be just
- lazily created. This option enables to have minimal xml
config without definition of all
- constraints in relationship between types. </para>
- </listitem>
- </itemizedlist>
- </para>
- </sect1>
- <sect1>
- <title>Sample Configuration</title>
- <para></para>
- <programlisting>
- <![CDATA[
-<identity-store>
- <id>Hibernate Identity Store</id>
-
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
- <relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
- <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- <name>IDENTITY</name>
- <relationships/>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>user.name.given</name>
- <mapping>user.name.given</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>picture</name>
- <mapping>user.picture</mapping>
- <type>binary</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- </attributes>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
- <identity-object-type-ref>IDENTITY</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
- <identity-object-type-ref>IDENTITY</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <option>
- <name>hibernateConfiguration</name>
- <value>hibernate-jboss-identity.cfg.xml</value>
- </option>
- <option>
- <name>populateRelationshipTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>populateIdentityObjectTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- <option>
- <name>isRealmAware</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </identity-store>
- ]]>
- </programlisting>
- <para>
- In case 'addHibernateMappings' option is not set to true
hibernate configuration need to list all
- annotated model classes:
- </para>
- <programlisting>
- <![CDATA[
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectTextAttribute"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectBinaryAttribute"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"/>
-<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"/>
- ]]>
- </programlisting>
-
- </sect1>
- </chapter>
- <chapter>
- <title>LDAP IdentityStore</title>
- <sect1>
- <title>Class Name</title>
-
<para>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</para>
- </sect1>
- <sect1>
- <title>Overview</title>
- <para> LDAPIdentityStoreImpl provides support for LDAP as identity
persistence store (IdentityStore).
- At this stage the implementation is a bit limitted:</para>
- <itemizedlist>
- <listitem>
- <para>Role management (IdentityObjectRelationshipName) is
not supported</para>
- </listitem>
- <listitem>
- <para>Only "text" attribute type can be
mapped</para>
- </listitem>
- <listitem>
- <para>Only "PASSWORD"
<![CDATA[<credential-type>]]> can be mapped</para>
- </listitem>
- </itemizedlist>
- </sect1>
- <sect1>
- <title>Configuration</title>
-
<para><![CDATA[<identity-object-type><options>]]></para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">idAttributeName</emphasis>
- - attribute name under which IdentityObject name is specified.
Required.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">passwordAttributeName</emphasis>
- - attribute name under which IdentityObject password is
specified. Optional.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">ctxDNs</emphasis>
- - DN that will be used as context for IdentityObject searches.
More than one value can be specified.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">allowCreateEntry</emphasis>
- - true/false - Specify if new IdentityObject can be
created.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">createEntryAttributeValues</emphasis>
- - defines a set of ldap attributes that will be set on
IdentityObject entry creation. Values
- are in "name=value" format. This enables to fulfill
LDAP schema requirements.Default is false</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">parentMembershipAttributeName</emphasis>
- - LDAP attribute that defines children of IdentityObject. This
will be used to retrieved
- relationships from IdentityObject entry. Option is required if
IdentityObjectType can be part of relationship.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">isParentMembershipAttributeDN</emphasis>
- - defines if values of attribute defined in
parentMembershipAttributeName are fully qualified LDAP DNs.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">allowEmptyMemberships</emphasis>
- - defines if IdentityObject entry can have no members.
Sometimes it is not allowed by LDAP schema.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">parentMembershipAttributePlaceholder</emphasis>
- - if LDAP schema doesn't allow empty memberships this value
will be used as a placeholder. IdentityObject
- specified here won't be recognized as a member and
ignored</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">childMembershipAttributeName</emphasis>
- - LDAP attribute that defines parents of IdentityObject. This
will be used to retrieved
- relationships from IdentityObject entry. Good example of such
attribute in LDAP schema is 'memberOf'</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">childMembershipAttributeDN</emphasis>
- - defines if values of attribute defined in
childMembershipAttributeName are fully qualified LDAP DNs.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">childMembershipAttributeVirtual</emphasis>
- - specifies if attribute defined in
'childMembershipAttributeName' is a real attribute that
- can be updated or virtual one which value is managed by a directory
and should not be updated</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">entrySearchFilter</emphasis>
- - ldap filter to search IdentityObject with. {0} will be
substitute with IdentityObject name.
- Example filter can look like this: "(uid={0})". This
substitution behavior comes from the
- standard DirContext.search(Name, String, Object,
SearchControls cons) method</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">enclosePasswordWith</emphasis>
- - if specified password will be surunted with a given chars
before update</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">passwordEncoding</emphasis>
- - if specified password will be encoded before update. For
example Microsoft Active Directory
- requires password to be enclosed with '"' and encoded
using 'UTF-16LE' for update.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">passwordUpdateAttributeValues</emphasis>
- - list of attributes that should be changed during password
update</para>
- </listitem>
-
-
- </itemizedlist>
- <para><emphasis
role="bold"><![CDATA[<identity-store><options>]]></emphasis></para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">providerURL</emphasis>
- - LDAP connection URL. For example
"ldap://localhost:389"</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">adminDN</emphasis>
- - LDAP entry used to connect to the server.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">adminPassword</emphasis>
- - password related to adminDN</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">searchTimeLimit</emphasis>
- -searchTimeLimit for LDAP search operations in miliseconds.
Default value is 10000.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">customJNDIConnectionParameters</emphasis>
- - list of additional 'key=value' parameters that will
be used to create JNDI context. Can be
- usefull to use additional JNDI options.</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">customSystemProperties</emphasis>
- - list of 'key=value' properties that will be added
using System.setProperty() method. This
- can be used to configure LDAP JNDI connection pooling which is
set per JVM</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">externalJNDIContext</emphasis>
- - name that will be used to perform JDNI lookup to grab JNDI
connection context </para>
- </listitem>
- </itemizedlist>
-
- </sect1>
- <sect1>
- <title>Sample Configuration</title>
- <para></para>
- <programlisting>
- <![CDATA[
-<identity-store>
- <id>Sample LDAP Store</id>
- <class>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
- <relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- <name>IDENTITY</name>
- <relationships/>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>phone</name>
- <mapping>telephoneNumber</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>description</name>
- <mapping>description</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>carLicense</name>
- <mapping>carLicense</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- </attributes>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>uid</value>
- </option>
- <option>
- <name>passwordAttributeName</name>
- <value>password</value>
- </option>
- <option>
- <name>ctxDNs</name>
- <value>ou=People,o=test,dc=example,dc=com</value>
- </option>
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=inetOrgPerson</value>
- <value>sn= </value>
- <value>cn= </value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
- <identity-object-type-ref>IDENTITY</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
- <identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
- <identity-object-type-ref>GROUP</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
- <value>ou=Organizations,o=test,dc=example,dc=com</value>
- </option>
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>membershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>isMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
- </option>
- </options>
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <option>
- <name>providerURL</name>
- <value>ldap://localhost:10389</value>
- </option>
- <option>
- <name>adminDN</name>
- <value>cn=Directory Manager</value>
- </option>
- <option>
- <name>adminPassword</name>
- <value>password</value>
- </option>
- <option>
- <name>searchTimeLimit</name>
- <value>10000</value>
- </option>
- </options>
-</identity-store>
- ]]>
- </programlisting>
- </sect1>
- </chapter>
- <chapter>
- <title>Minimal Configuration</title>
- <para>The main role of configuration is to define relationship between
separate framework components. It also
- enables to specify a lot of meta data information describing possible
connections between IdentityObject types.
- It is however possible to not define all those meta data information and let
the framework to be maximum permissive
- about allowed operations and lazily create not defined types:</para>
-
- <programlisting>
- <![CDATA[
-<?xml version="1.0" encoding="UTF-8"?>
-<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
- <realms>
- <realm>
- <id>realm://FlexibleRealm</id>
- <repository-id-ref>Flexible Repo</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- </realms>
- <repositories>
- <repository>
- <id>Flexible Repo</id>
-
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
- <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedIdentityObjectTypes</name>
- <value>true</value>
- </option>
- </options>
- </repository>
- </repositories>
- <stores>
- <attribute-stores/>
- <identity-stores>
- <identity-store>
- <id>Hibernate Identity Store</id>
-
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
-
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
- <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types/>
- <options>
- <option>
- <name>hibernateSessionFactoryJNDIName</name>
-
<value>java:/jbossidentity/HibernateStoreSessionFactory</value>
- </option>
- <option>
- <name>populateRelationshipTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>populateIdentityObjectTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>isRealmAware</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedIdentityObjectTypes</name>
- <value>true</value>
- </option>
- </options>
- </identity-store>
- </identity-stores>
- </stores>
-</jboss-identity>
- ]]>
- </programlisting>
- </chapter>
- </part>
-
- <part>
- <title>IdentityStoreRepository Implementations</title>
- <chapter>
- <title>WrapperIdentityStoreRepository</title>
- <sect1>
- <title>ClassName</title>
-
<para>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</para>
- </sect1>
- <sect1>
- <title>Behaviour</title>
- <pre>Simply wrapps single AttributeStore and IdentityStore and pass
all method invocations</pre>
- </sect1>
- <sect1>
- <title>Sample Configuration</title>
- <programlisting>
- <![CDATA[
-<repository>
- <id>Sample Repository</id
-
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>LDAP Store</default-identity-store-id>
- <default-attribute-store-id>LDAP Store</default-attribute-store-id>
-</repository>
-
- ]]>
- </programlisting>
- </sect1>
-
- </chapter>
- <chapter>
- <title>FallbackIdentityStoreRepository</title>
- <sect1>
- <title>ClassName</title>
-
<para>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</para>
- </sect1>
- <sect1>
- <title>Behaviour</title>
- <pre>Resolves proper IdentityStore from IdentityObjectType mapping
and delegates method invocation.
- For relationship related methods, if both IdentityObjectTypes are not
mapped in one store,
- repository will try to sync them and associate in
defaultIdentityStore. For attributes that are not
- mapped inside mapped IdentityStore repository will try to assign
those attributes in defaultAttributeStore.</pre>
- </sect1>
- <sect1>
- <title>Configuration Options</title>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">allowNotDefinedAttributes</emphasis>
- - if mapped IdentityStore doesn't support any attribute
that was
- passed in method invocation FallbackIdentityStoreRepository
will try to store it in
- defaultAttributeStore. If this option is set to true such
attribute will be passed to
- defaultAttributeStore even if it is not mapped
there.</para>
- </listitem>
- </itemizedlist>
- </sect1>
- <sect1>
- <title>Sample Configuration</title>
- <programlisting>
- <![CDATA[
-<repository>
- <id>Repository XYZ</id>
-
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Identity Store XX</default-identity-store-id>
- <default-attribute-store-id>Identity Store
XX</default-attribute-store-id>
- <identity-store-mappings>
- <identity-store-mapping>
- <identity-store-id>Identity Store XX</identity-store-id>
- <identity-object-types>
- <identity-object-type>DIVISION</identity-object-type>
- <identity-object-type>PROJECT</identity-object-type>
- <identity-object-type>PEOPLE</identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- <identity-store-mapping>
- <identity-store-id>Identity Store YY</identity-store-id>
- <identity-object-types>
- <identity-object-type>IDENTITY</identity-object-type>
- <identity-object-type>ORGANIZATION</identity-object-type>
- <identity-object-type>ORGANIZATION_UNIT</identity-object-type>
- <identity-object-type>DEPARTMENT</identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- </identity-store-mappings>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
-</repository>
- ]]>
- </programlisting>
- </sect1>
- </chapter>
-
- </part>
-
- <part>
- <title>Attributes</title>
- <chapter>
- <title>API</title>
- <para>On the API level each IdentityType object (Identity and Group)
can have associated Attribute objects.
- All operations are exposed by AttributesManager interface. Each attribute
is described with
- AttributeDescription that contains its properties such as:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">name</emphasis> - attribute name</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">readonly</emphasis> - if attribute values can be
changed</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">multivalued</emphasis> - if attribute can have many
values</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">required</emphasis> - if attribute can be
removed</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">type</emphasis> - type of attribute values. </para>
- </listitem>
- </itemizedlist>
- <para>Default implementation provides two attribute
types:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">text</emphasis> - java.lang.String object</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">binary</emphasis> - byte[] object</para>
- </listitem>
-
- </itemizedlist>
- <sect1>
- <title>Sample operations</title>
- <programlisting role="java">
-Identity user = session.getPersistenceManager().
-createIdentity("sampleUser");
-
-// Check that binary attribute 'picture' is mapped
-
-AttributeDescription attributeDescription =
-session.getAttributesManager().
-getAttributeDescription(user, "picture");
-assertNotNull(attributeDescription);
-assertEquals("binary", attributeDescription.getType());
-
-
-// Generate random binary data for binary attribute
-
-Random random = new Random();
-byte[] picture = new byte[5120];
-random.nextBytes(picture);
-
-
-// User attributes
-Attribute[] userInfo = new Attribute[]
-{
-new SimpleAttribute(P3PConstants.INFO_USER_NAME_GIVEN,
-new String[]{"John"}),
-new SimpleAttribute(P3PConstants.INFO_USER_NAME_FAMILY,
-new String[]{"Doe"}),
-new SimpleAttribute("picture", new byte[][]{picture})
-};
-
-session.getAttributesManager().
-addAttributes(user, userInfo);
-
-....
-
-AttributesManager attrMgr = session.getAttributesManager();
-
-attrMgr.addAttribute(anneUser,
-P3PConstants.INFO_USER_NAME_GIVEN, "Anne");
-attrMgr.addAttribute(anneUser,
-P3PConstants.INFO_USER_NAME_FAMILY, "Smith");
-attrMgr.addAttribute(anneUser,
-P3PConstants.INFO_USER_JOB_TITLE, "Senior Software Developer");
-attrMgr.addAttribute(anneUser,
-P3PConstants.INFO_USER_BUSINESS_INFO_ONLINE_EMAIL, "anne.smith(a)acme.com");
-attrMgr.addAttribute(anneUser,
-P3PConstants.INFO_USER_BUSINESS_INFO_TELECOM_MOBILE_NUMBER, "777 777 777 7
77");
- </programlisting>
-
- </sect1>
- </chapter>
- <chapter>
- <title>SPI</title>
- <para>On the SPI level IdentityObject can be associated with several
IdentityObjectAttribute objects.
- IdentityObjectAttribute is described by IdentityObjectAttributeMetaData
object that contains its
- properties such as:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">name</emphasis> - attribute name</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">readonly</emphasis> - if attribute values can be
changed</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">multivalued</emphasis> - if attribute can have many
values</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">required</emphasis> - if attribute can be
removed</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">type</emphasis> - type of attribute values. </para>
- </listitem>
- </itemizedlist>
- <para>IdentityObjectAttribute types supported by default
implementations are the same as in the API level:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">text</emphasis> - java.lang.String object</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">binary</emphasis> - byte[] object</para>
- </listitem>
-
- </itemizedlist>
- <para>
- All operations related to IdentityObjectAttribute are exposed by the
AttributeStore interface
- </para>
- </chapter>
-
- </part>
-
- <part>
- <title>Credentials</title>
- <chapter>
- <title>API</title>
- <para>
- API contains Credential and CredentialType interfaces.
- CredentialType defines type of credential object. Default implementation
supports two types:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">PASSWORD</emphasis> - text password represented by
java.lang.String object</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">BINARY</emphasis> - binary credential represented by
byte[]. For example some kind of certificate.</para>
- </listitem>
-
- </itemizedlist>
- <para>
- Two basic implementations are provided:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">org.picketlink.idm.impl.api.BinaryCredential</emphasis>
- - Credential with BINARY CredentialType</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">org.picketlink.idm.impl.api.PasswordCredential</emphasis>
- - Credential with PASSWORD CredentialType</para>
- </listitem>
-
- </itemizedlist>
- <para>
- Because credentials values are stored as hash or in other encoded form
both SPI and API only enables
- to update and validate credential value and not to read it from
persistence store. API enables to only
- protect Identity objects with credentials. All related management
operations are exposed in
- AttributesManager interface.
- </para>
- <programlisting role="java">
-
-
-User anotherOne = session.getPersistenceManager().createUser("blah1");
-
-session.getAttributesManager().updatePassword(anotherOne, "Password2000");
-assertTrue(session.getAttributesManager().validatePassword(anotherOne,
"Password2000"));
-
-Credential password = new PasswordCredential("SuperPassword2345");
-session.getAttributesManager().updateCredential(anotherOne, password);
-assertTrue(session.getAttributesManager().validateCredentials(anotherOne, new
Credential[]{password}));
-
-// binary credential
-byte[] cert = new byte[512000];
-random.nextBytes(cert);
-Credential binaryCredential = new BinaryCredential(cert);
-session.getAttributesManager().updateCredential(anotherOne, binaryCredential);
-assertTrue(session.getAttributesManager().validateCredentials(anotherOne, new
Credential[]{binaryCredential}));
-
- </programlisting>
- </chapter>
- <chapter>
- <title>SPI</title>
- <para>
- SPI contains IdentityObjectCredential and IdentityObjectCredentialType
interfaces that correspons to
- Credential and CredentialType interfaces in the API. Implementation
supports the same two
- (PASSWORD and BINARY) types. Management operations are exposed in
IdentityStore interface. Each
- IdentityObjectType can be configured to support different
IdentityObjectCredentialType. This
- information is exposed by FeaturesMetaData interface.
- </para>
- <para>
- IdentityObjectCredential interface exposes two methods to retrieve
credential value:
- </para>
- <itemizedlist>
- <listitem>
- <para><emphasis
role="bold">getValue</emphasis> - returns either String for text based
credentials or
- byte[] for binary.
- True credential value may be needed by different IdentityStore
implementations for validation.
- For example with LDAP authentication for IdentityObject entry
will be performed</para>
- </listitem>
- <listitem>
- <para><emphasis
role="bold">getEncodedValue</emphasis> - Enables to provide
IdentityStore with custom
- credential encoding method.
- IdentityStore is not obligated to use encoded value. This should
return either String for text
- based credentials or byte[] for binary. May return null if
credential implementation doesn't
- provide encoding mechanism. IdentityStore </para>
- </listitem>
- </itemizedlist>
- </chapter>
- </part>
- <part>
- <title>Deployment</title>
- <chapter>
- <title>IDM Usage Scenario</title>
- <para>There are two ways to use the jboss idm:</para>
- <itemizedlist>
- <listitem>
- <para>
- Use it as the embedded way
- </para>
- </listitem>
- <listitem>
- <para>
- Deploy it into the container (JBoss AS5), and then all other projects
can use it
- by getting IdentitySessionFactory from JNDI.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- For the 1st case, users need to use the API to start the
IdentitySessionFactory, and then use it.
- The code is as following, which you can find on the example module.
- </para>
- <programlisting>
- <![CDATA[
-IdentitySessionFactory identitySessionFactory = new IdentityConfigurationImpl().
- configure(new
File("src/test/resources/example-db-config.xml")).buildIdentitySessionFactory();
-IdentitySession identitySession =
identitySessionFactory.createIdentitySession("realm://JBossIdentityExample/SampleRealm");
- ]]>
- </programlisting>
- <para>
- And then use the IdentitySession to do the operations etc. So it is very easy
to use. We will look closer
- at the second scenario in the next chapter
- </para>
- </chapter>
- <chapter>
- <title>JBoss AS 5 Deployment</title>
- <para>Now, lets look at the second case, by deploying the idm into the
JBoss AS 5. By doing this different
- services can share the identity component, instead of having its own seperate
identity component.</para>
- <para>The jobs that need to be done for the deployment in the container is
quite simple:</para>
- <itemizedlist>
- <listitem>
- <para>
- Populate the idm schema if neccessary.
- </para>
- </listitem>
- <listitem>
- <para>
- Start the IdentitySessionFactory, and then register it into the JNDI.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Before we look at it further, lets see the configuration files that jboss idm
needed typically.
- (Say using db back-end, hibernate impl combination)
- </para>
- <itemizedlist>
- <listitem>
- <para>jboss idm configuration file. say
jboss.idm.cfg.xml</para>
- </listitem>
- <listitem>
- <para>datasource file, say idm-ds.xml</para>
- </listitem>
- <listitem>
- <para>hibernate cfg file, say
jboss.idm.hibernate.cfg.xml.</para>
- </listitem>
- </itemizedlist>
-
- <para>With regard to the detail of jboss idm configuration file, you can
refer to the configuration documentation.</para>
- <para>So, if we want to deploy the idm into container with a specified
JNDI name, we need to have a deployment
- file to define the JNDI and other neccessary properties.</para>
- <para>
- For the integration with JBoss AS5, the AS5 has a great deployment feature,
we've built our own deployer to
- extend it, so that the AS can listen on the -jboss-idm.xml suffix file to
start the IdentitySessionFactory.
- </para>
- <para>
- Basically, we had two deployer, one is: IDMConfigParsingDeployer class, which
is taking responsible for
- parsing files that ends with the -jboss-idm.xml suffix into Java object. The
other is: IDMDeployer class,
- this one is to do the real job, which means it might populate the schema,
initial dataset into target db,
- and then start the IdentitySessionFactory, register it into the JNDI with the
specified name at last.
- </para>
- <para>
- We will see a very typical deployment file looks like.
(default-jboss-idm.xml)
- </para>
- <programlisting>
- <![CDATA[
-<?xml version="1.0" encoding="UTF-8"?>
-<jboss-idm-deployer xmlns="urn:jboss:identity:idm:deployer:v1_0_alpha"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:jboss:identity:idm:deployer:v1_0_alpha
identity-deployer.xsd">
- <JNDIName>java:/IdentitySessionFactory</JNDIName>
- <idmConfigFile>jboss.idm.cfg.xml</idmConfigFile>
- <hibernateDeployer>
-
<hibernateConfiguration>jboss.idm.hibernate.cfg.xml</hibernateConfiguration>
-<hibernateSessionFactoryJNDIName>java:/IDMHibernateSessionFactory</hibernateSessionFactoryJNDIName>
- </hibernateDeployer>
- <initializers>
- <datasource>java:/jbossidmDS</datasource>
- <sqlInitializer>
- <sqlFile>idm-sql/jboss.idm.@database@.create.sql</sqlFile>
- <exitSQL>select * from jbid_io</exitSQL>
- </sqlInitializer>
- </initializers>
-</jboss-idm-deployer>
- ]]>
- </programlisting>
-
- <itemizedlist>
- <listitem>
- <para>The deployment file must be named -jboss-idm.xml as suffix,
otherwise, it won't be recoginzed
- in the JBoss AS5 container.
- </para>
- </listitem>
- <listitem>
- <para>
- The "JNDIName" and "idmConfigFile" attributes are
required. The JNDIName is the name for
- keeping the started IdentitySessionFactory.
-
- </para>
- </listitem>
- <listitem>
- <para>
- The hibernateDeployer is optional, the reason that why we had the
hibernateDeployer is that
- we can reuse the hibernateSessionFactory in the jboss idm configuration
file.
-
- </para>
- </listitem>
- <listitem>
- <para>The Initializer is optional, it is responsible for populating
the db schema
- and initialized dataset if any.
- </para>
- </listitem>
-
- </itemizedlist>
- <para>detailed information about the deployment file is specified in the
identity-deployer.xsd file.</para>
- <para>
- Once you've deployed the idm into JBoss AS5, by using the distribution.
It will copy the idm-deployer
- into the JBoss AS5/server/$config/deployers folder, and the idm folder into
the JBoss AS5/server/$config/deploy
- folder, which contains the default configuration files, like the
jboss.idm.cfg.xml, idm-ds.xml etc.
- </para>
- </chapter>
-
- </part>
-</book>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/en/ReferenceGuide.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,2221 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+ <!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
+ ]>
+<book>
+
+ <bookinfo>
+ <title>PicketLink IDM</title>
+
+ <subtitle>Reference Guide</subtitle>
+
+ <xi:include href="Author_Group.xml"
+
xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
+ <releaseinfo>
+ 1.0.0.CR1
+ </releaseinfo>
+
+
+ </bookinfo>
+
+ <preface>
+ <title>What this Book Covers</title>
+ <para>This book aims to help you become familiar with PicketLink
+ IDM component</para>
+ <para>Part I 'Design and Architecture' introduces the the main
concepts behind framework design</para>
+ <para>Part II 'Concepts behind API to SPI mappings' describes
framework concepts in a more detailed way and explains
+ relationship between API and SPI layer.</para>
+ <para>Part III 'Quick Start' provides a reader with best way to start
playing with the framework</para>
+ <para>Part IV 'Configuration' describes framework configuration.
+ </para>
+ <para>Part VI 'IdentityStore Implementations' provides detailed view
on provided IdentityStore implementations.
+ </para>
+ <para>Part VII 'IdentityStoreRepository Implementations' provides
detailed view on provided IdentityStoreRepository
+ implementations.
+ </para>
+ <para>Part VIII 'Attributes' describes how attributes can be used in
the API.
+ </para>
+ <para>Part IX 'Credentials' describes how credentials can be used in
the API.
+ </para>
+ <para>Part X 'Deployment' provides additional insight on how IDM
component can be leveraged inside JEE container.
+ </para>
+ </preface>
+
+ <part>
+ <title>Design and Architecture</title>
+
+ <chapter id="main_concepts">
+ <title>Main Concepts</title>
+
+ <para>PicketLink IDM aims to provide a common identity model for
various JBoss projects.
+ As every project has it's own specific needs it's hard to design
a common API and identity model that will
+ fit all of them. Therefore PicketLink IDM architecture consists of two
main parts:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para><emphasis role="bold">Core
SPI</emphasis> with an abstract identity model that provides the
+ flexibility for defining different identity object types and
possible relationships between them.</para>
+ </listitem>
+
+ <listitem>
+ <para><emphasis role="bold">Common
API</emphasis> with a simpler identity model that fits most common use cases.
Identity model has more
+ strictly defined object types and possible
relationships.</para>
+ </listitem>
+ </itemizedlist>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/IDM-global-arch.png"
format="PNG"/>
+ </imageobject>
+ <caption align="right">
+ <para>
+ <emphasis role="bold">PicketLink IDM
architecture</emphasis>
+ </para>
+ </caption>
+ </mediaobject>
+ <para>
+ Too much abstraction in the API layer would confuse people using the
framework.
+ One of the goals is to make the design easily extendible. Framework
adopters should be able to remove the
+ API layer and reuse core SPI implementation if needed.
+ </para>
+
+ </chapter>
+
+ <chapter id="api_model">
+ <title>API Model</title>
+ <para>
+ The API operates on the identity model that is defined by a set of
following interfaces:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.IdentityType</emphasis>
+ - is a parent interface for Group and Identity
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.Identity</emphasis>
+ - represents Identity which can be a user
+ (within organization) or a machine (in authentication or security
use case)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.Group</emphasis>
+ - represents typed Group
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.GroupType</emphasis>
+ - represents type of a Group. It can be an organization,
organization unit, administration group,
+ global role, community or any other entity.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.Role</emphasis>
+ - represents one to one relationship between Identity and Group.
Role has a type.
+ The idea behind the concept is described below.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.RoleType</emphasis>
+ - represents type of a Role.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.Attribute</emphasis>
+ - represents attribute connected with IdentityType (Group or
Identity).
+ Can have many complex type values (text or binary).
AttributeDescription describes such
+ properties of Attribute like: name, type of values, readonly,
multivalued, required.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.Credential</emphasis>
+ - represents credential connected with Identity.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.api.CredentialType</emphasis>
+ - represents type of a Credential. For example it can be text
password or binary certificate.
+ </para>
+ </listitem>
+
+ </itemizedlist>
+
+ </chapter>
+
+ <chapter id="group_and_roles">
+ <title>Groups and Roles</title>
+ <para>
+ Groups are entities that can contain other group or identity objects.
They can be associated in a tree
+ like organizational structures. Those don't need to be hierarchical
only as single group can be a member
+ of many other groups (can have many parents). Possible relationships
between groups are shaped with group
+ types. It can be configured which different group types can be associated
or even which group types can
+ or can not contain identity objects. Groups have unique names per group
type. This means you can have
+ two groups with the same name but different group type.
+ </para>
+ <para>
+ Roles are direct typed connections between Identity and Group objects. If
you think about a sentence:
+ "<emphasis role="bold">John</emphasis> is the
<emphasis role="bold">Manager</emphasis> of
+ <emphasis role="bold">XX Team"</emphasis> what
matters is the context. So "John (Identity) is the Manager (RoleType)
+ of XX Team (Group)". The whole sentence describes the Role that John
has. This type of information is hard
+ to map with typical Group object as John can be a manager of several
different groups and other identities
+ (Marry, Jack, Stan...) can have the same RoleType in context of different
groups (XY Team, YY Team).
+ Within each Realm (concept of Realms is described later) we can define
several RoleType objects with
+ unique names. Each Role defines a unique combination of Identity, Group
and RoleType within Realm.
+ Role concept is very powerful but its not natural in all identity store
types. While quite easy to map in
+ a relational database it doesn't fit into every LDAP tree present in
organizations. Because of this Role
+ support is optional in the API level
+ </para>
+ </chapter>
+
+ <chapter id="spi_model">
+ <title>SPI (Abstract) Model</title>
+ <para>
+ SPI Model contains following interfaces:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObject</emphasis>
+ - represents identity object. Contains information
+ about object name and type (IdentityObjectType). Name and
IdentityObjectType pair should be unique
+ within realm.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectType</emphasis>
+ - represents identity object type. Name of IdentityType is
unique.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectAttribute</emphasis>
+ - attribute assigned to IdentityObject
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectCredential</emphasis>
+ - credential assigned to IdentityObject
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectCredentialType</emphasis>
+ - represents type of IdentityObjectCredential.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectRelationship</emphasis>
+ - Directional relationship between
+ two IdentityObject objects. Relationship is directional as it
keeps information about from and to
+ IdentityObject. Each IdentityObjectRelationship has a type
(IdentityObjectRelationshipType) and can
+ have a name (not required).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">org.picketlink.idm.spi.model.IdentityObjectRelationshipType</emphasis>
+ - named type of relationship
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ Model described above is very flexible as IdentityObjectType is able to
map any kind of entities.
+ Identity object and Group/GroupType objects are only one of many possible
options (API is a subset of
+ SPI possibilities). IdentityObjectRelationship defines a connection
between any two IdentityObject
+ objects. Each IdentityObjectRelationship has a type. To map previously
described API two
+ IdentityObjectRelationshipType objects are needed. One to map normal
MEMBERSHIP like between an Identity
+ and a Group or Group and Group objects. Second one to map Role concept.
For API Role - RoleType refers
+ to the name of the IdentityObjectRelationship. In default Hibernate
implementation possible names of
+ IdentityObjectRelationship are kept in a separate table. All of those can
be easily redefined to support
+ different kind of API.
+ </para>
+
+ </chapter>
+
+ <chapter id="architecture">
+ <title>Architecture</title>
+ <para>
+ The most important part of architecture is a split between the API and
the SPI.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/IDM-api-spi.png"
format="PNG"/>
+ </imageobject>
+ <caption align="right">
+ <para>
+ <emphasis role="bold">PicketLink IDM
architecture</emphasis>
+ </para>
+ </caption>
+ </mediaobject>
+ <para>
+ API part contains of following interfaces:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis role="bold">Realm</emphasis>
+ - described later in this document. Groups configuration of
several identity stores and exposes
+ all of them with one consistent identity model.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentitySessionFactory</emphasis>
+ - Main entry point in the API. Enables to create/get
IdentitySession for a given Realm
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentitySession</emphasis> - Session that groups all
identity management
+ operation. Contains transaction support and exposes four managers
that handle all identity management operations.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">PersistenceManager</emphasis>
+ - Operates witin IdentitySession. Performs all operations on
Identity and Group objects. Create/Remove/Find
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">RelationshipManager</emphasis>
+ - Operates witin IdentitySession. Associate and deassociate
Identity and Group objects.
+ Find Idenity and Group objects depending on their relationships
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">RoleManager</emphasis> - Operates witin IdentitySession.
Operations on Role objects.
+ Optional feature.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">AttributeManager</emphasis> - Operates witin
IdentitySession. Manages Identity
+ and Group (IdentityType objects) attributes. Each configured
attribute is described with AttributeDescription interface
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">SearchCriteria</emphasis> - Enables to apply additional
conditions to search operations.
+ May be leveraged to receive results sorted, paginated or filtered
with attributes.</para>
+ </listitem>
+ </itemizedlist>
+ <para>
+
+ SPI part contains of following interfaces
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityStoreSession</emphasis>
+ - Session that groups all identity management operations within
identity persistence stores.</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityStoreSessionFactory</emphasis>
+ - Entry point in the SPI to initialize IdentityStoreSession inside
IdentityStore or AttributeStore.</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityStoreInvocationContext</emphasis>
+ - IdentityStoreSession aware context object that is passed during
any invocation of AttributeStore
+ or IdentityStore methods. Thanks to this actual store
implementation doesn't need to be aware of
+ current session state. Therefore one instance of AttributeStore or
IdentityStore can be invoked by
+ different realms at the same time.</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">AttributeStore</emphasis> - Exposes operations on identity
store with attributes.
+ This is a separate interface as in multi store configuration
scenario, profile may need to be
+ stored outside of actual data store for a given identity (LDAP +
DB)</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityStore</emphasis> - Extends AttributeStore.
Implementation of
+ this interface performs operations on the real data
store.</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityStoreRepository</emphasis> - Extends IdentityStore.
Groups
+ several IdentityStore objects and exposes operations on them
within single interface for the
+ API. The implementation is responsible for aggregate identity
objects from many configured
+ underlaying IdentityStore objects and map different
IdentityObjectTypes between them.
+ The place where the whole magic happens </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">IdentityObjectSearchControl</emphasis> - Enables to apply
additional conditions to
+ search operations. May be leveraged to receive results sorted,
paginated or filtered withattributes.</para>
+ </listitem>
+ </itemizedlist>
+
+
+
+ </chapter>
+
+ <chapter id="realms">
+ <title>Realms</title>
+ <para>
+ The purpose of a Realm is to group configuration of several identity
stores. IdentitySession exposes
+ operations within single Realm
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/IDM-global-realm.png"
format="PNG" contentwidth="6in"
+ contentdepth="6in"/>
+ </imageobject>
+ <caption align="right">
+ <para>
+ <emphasis role="bold">PicketLink IDM
architecture</emphasis>
+ </para>
+ </caption>
+ </mediaobject>
+
+ </chapter>
+
+ </part>
+
+ <part>
+ <title>Concepts behind API to SPI mappings</title>
+ <chapter>
+ <title>Introduction</title>
+ <para>The most confusing part of the framework is probably connection
between API and SPI. This part will
+ try to explain how operations on API model are translated into the SPI.
It will also enable to
+ dive in the API and framework capabilities by looking on realcode
examples
+ </para>
+ </chapter>
+ <chapter>
+ <title>User and Group</title>
+ <para>
+ Objects represented by User and Group interfaces are managed by
PersistenceManager.
+ In the example below 3 users and 4 groups are created.
+ </para>
+ <programlisting role="java">
+PersistenceManager pm = identitySession.getPersistenceManager();
+User johnUser = pm.createUser("John");
+User annUser = pm.createUser("Ann");
+User stefanUser = pm.createUser("Stefan");
+
+String OFFICE = "OFFICE";
+String DEPARTMENT = "DEPARTMENT";
+
+Group parisOffice = pm.createGroup("Paris", OFFICE);
+Group atlantaOffice = pm.createGroup("Atlanta", OFFICE);
+
+assertEquals(OFFICE, parisOffice.getGroupType());
+
+Group itDep = pm.createGroup("IT", DEPARTMENT);
+Group hrDep = pm.createGroup("HR", DEPARTMENT);
+ </programlisting>
+ <para>
+ At the SPI level both Group and User are mapped as IdentityObject. What
differentiate them is the
+ IdentityObjectType. IdentityObjectType "USER" is mapped to
represent User objects while other are
+ mapped to represent different Group types names.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/SPI1.png"
format="PNG"/>
+ </imageobject>
+ <!--<caption align="right">-->
+ <!--<para>-->
+ <!--<emphasis role="bold"></emphasis>-->
+ <!--</para>-->
+ <!--</caption>-->
+ </mediaobject>
+
+ </chapter>
+ <chapter>
+ <title>Associations</title>
+ <para>Group and Users can be associated. This represents simple
relationship that can be described like
+ "user John belongs to Group IT". Association can be created
between Group and User or between two Groups.</para>
+ <para>Those operations are managed by
RelationshipManager:</para>
+ <programlisting role="java">
+RelationshipManager rm = identitySession.getRelationshipManager();
+
+rm.associateUser(parisOffice, annUser);
+rm.associateUser(atlantaOffice, stefanUser);
+rm.associateUser(itDep, stefanUser);
+
+assertTrue(rm.isAssociated(parisOffice, annUser));
+ </programlisting>
+ <para>
+ At the SPI level this is mapped to IdentityObjectRelationship entity.
This relationship has a type.
+ Simple assotiations can be marked with a type named
"JBOSS_IDENTITY_MEMBERSHIP"
+ (this is implementation detail) which describes simple membership. Note
that IdentityObjectRelationship
+ creates a connection between any two IdentityObject entities.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/SPI2.png"
format="PNG"/>
+ </imageobject>
+ <!--<caption align="right">-->
+ <!--<para>-->
+ <!--<emphasis role="bold"></emphasis>-->
+ <!--</para>-->
+ <!--</caption>-->
+ </mediaobject>
+ </chapter>
+ <chapter>
+ <title>Role</title>
+ <para>Roles are direct typed connections between Identity and Group
objects. If you think about a sentence:
+ "John is the Manager of XX Team" what matters is the context.
So "John (Identity) is the Manager
+ (RoleType) of XX Team (Group)". The whole sentence describes the
Role that John has. This type of
+ information is hard to map with typical Group object as John can be a
manager of several different
+ groups and other identities (Marry, Jack, Stan...) can have the same
RoleType in context of different
+ groups (XY Team, YY Team). Within each Realm (concept of Realms is
described later) we can define
+ several RoleType objects with unique names. Each Role defines a unique
combination of Identity, Group
+ and RoleType within Realm.</para>
+ <para>
+ Roles are managed with RoleManager interface:
+ </para>
+ <programlisting role="java">
+RoleManager roleManager = identitySession.getRoleManager();
+
+roleManager.createRoleType("manager");
+RoleType adminRT = roleManager.createRoleType("administrator");
+
+Role role1 = roleManager.createRole("manager", annUser.getId(),
parisOffice.getId());
+roleManager.createRole(adminRT, stefanUser, itDep);
+
+assertTrue(roleManager.hasRole(stefanUser, itDep, adminRT));
+
+ </programlisting>
+ <para>
+ At the SPI level the main difference between plain association is that
IdentityObjectRelationship has
+ a IdentityObjectRelationshipName which is simple mapping of a RoleType
used in the API
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="./images/SPI3.png"
format="PNG"/>
+ </imageobject>
+ <!--<caption align="right">-->
+ <!--<para>-->
+ <!--<emphasis role="bold"></emphasis>-->
+ <!--</para>-->
+ <!--</caption>-->
+ </mediaobject>
+ <para>
+ What is important to note about the Role concept is that it is not
natural in all kinds of
+ identity stores. Entities represented on attached figures are easy to map
in the database.
+ However in store like LDAP typical relationships are represanted in a
more plain manner. For example:
+ </para>
+ <programlisting>
+ <![CDATA[
+dn: uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
+objectclass: top
+objectclass: inetOrgPerson
+objectclass: person
+uid: admin
+cn: Java Duke
+sn: Duke
+userPassword: admin
+mail: email(a)email.com
+
+dn: cn=Administrators,ou=Groups,o=test,dc=portal,dc=example,dc=com
+objectClass: top
+objectClass: groupOfNames
+cn: Administrators
+description: Portal admin role
+member: uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
+ ]]>
+ </programlisting>
+ <para>
+ The whole relationship between User "admin" and Group
"Administrators" is described by one attribute
+ value ("member"). In such typical LDAP tree shape there is no
place to store additional
+ information that are needed to describe Role shown above. Obviously it is
possible to shape
+ LDAP tree in a way that will allow such a mapping but in most cases it is
not possible to
+ redesign already used LDAP server tree.
+ </para>
+
+ </chapter>
+ </part>
+
+
+
+
+
+ <part>
+ <title>Quick Start</title>
+ <!--<para>-->
+ <!--Please read JBossIdentity IDM Design and Architecture to understand all
concepts behind the framework.-->
+ <!--</para>-->
+
+ <chapter>
+ <title>Test Cases</title>
+ <para>
+ One of the best ways to get familiar with the PicketLink IDM component is
to look at the source code.
+ You will find link to the subversion repository in the project webpage.
+ There are couple of quite meaningful testcases there. One of the best to
start with is
+ org.picketlink.idm.impl.api.OrganizationTest under
'idm-testsuite' module . It contains two example identity structures.
+ One mapping hierarchical organization of Red Hat and JBoss projects and
the other describes theoretical
+ portal tree for ACME company.
+ </para>
+
+ </chapter>
+ <chapter>
+ <title>Examples</title>
+ <para>
+ As PicketLink IDM is a Maven2 based project it is very easy to leverage
it from this build system.
+ There is a ready to use Maven2 example project in the svn. It contains
three sample test cases for with
+ following configurations:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>database setup</para>
+ </listitem>
+ <listitem>
+ <para>LDAP setup</para>
+ </listitem>
+ <listitem>
+ <para>mixed LDAP + database setup</para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Sample project uses embedded OpenDS and HSQLDB so there is no need for
any additional setup to be able to
+ play with the API.
+ </para>
+ </chapter>
+ <chapter>
+ <title>Needed files</title>
+ <para>Although the best way to start playing with the framework is to
look at Maven2 sample project
+ mentioned above lets list minimal set of configuration files. To setup the
basic framework core depending
+ on hibernate IdentityStore two files will be needed</para>
+ <para>
+ <emphasis role="bold">idm-config.xml</emphasis> -
that will set proper configuration for all
+ framework components described in section above. Sample one below.
+ </para>
+ <programlisting>
+ <![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
+ <realms>
+ <realm>
+ <id>realm://JBossIdentityExample/SampleRealm</id>
+ <repository-id-ref>Sample Repository</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ </realms>
+ <repositories>
+ <repository>
+ <id>Sample Repository</id>
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Sample DB
Store</default-identity-store-id>
+ <default-attribute-store-id>Sample DB
Store</default-attribute-store-id>
+ </repository>
+ </repositories>
+ <stores>
+ <attribute-stores/>
+ <identity-stores>
+ <identity-store>
+ <id>Sample DB Store</id>
+
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+
<relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ <name>USER</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>GROUP</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>picture</name>
+ <mapping>user.picture</mapping>
+ <type>binary</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ </attributes>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>GROUP</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>GROUP</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>GROUP</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <option>
+ <name>hibernateConfiguration</name>
+ <value>hibernate-jboss-identity.cfg.xml</value>
+ </option>
+ <option>
+ <name>populateRelationshipTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>populateIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>isRealmAware</name>
+ <value>true</value>
+ </option>
+ </options>
+ </identity-store>
+ </identity-stores>
+ </stores>
+</jboss-identity>
+ ]]>
+ </programlisting>
+
+ <para>
+ <emphasis role="bold">hibernate.cfg.xml</emphasis> -
hibernate SessionFactory setup
+ </para>
+
+ <programlisting>
+ <![CDATA[
+<!DOCTYPE hibernate-configuration PUBLIC
+ "-//Hibernate/Hibernate Configuration DTD//EN"
+ "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+ <session-factory>
+
+
+ <property
name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+
+ <property name="show_sql">false</property>
+ <property
name="cache.use_second_level_cache">true</property>
+ <property name="cache.use_query_cache">true</property>
+
+
+ <property
name="current_session_context_class">thread</property>
+
+ <!--<property
name="connection.datasource"></property>-->
+
+ <property
name="hibernate.connection.url">jdbc:hsqldb:mem:unit-testing-jpa1</property>
+ <property
name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
+ <property
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+ <property
name="hibernate.hbm2ddl.auto">create-drop</property>
+ <property
name="hibernate.connection.username">sa</property>
+ <property name="hibernate.connection.password"></property>
+
+ </session-factory>
+</hibernate-configuration>
+ ]]>
+ </programlisting>
+ </chapter>
+
+ </part>
+
+ <part>
+ <title>Configuration</title>
+
+ <chapter>
+ <title>IdentitySessionFactory</title>
+ <para>IdentitySessionFactory interface is a main entry point into the
API. Default implementation
+ IdentitySessionFactoryImpl has two constructors:</para>
+ <itemizedlist>
+ <listitem>
+ <para>public
IdentitySessionFactoryImpl(IdentityConfigurationMetaData configMD) throws
Exception</para>
+ </listitem>
+ <listitem>
+ <para>public IdentitySessionFactoryImpl(File configFile) throws
Exception</para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Framework configuration can be defined in two ways. It can be passed as
implementation of a set of
+ metadata interfaces grouped in
org.picketlink.idm.spi.configuration.metadata package. Main one
+ is IdentityConfigurationMetaData.
+ </para>
+ <para>
+ Other possibility is to use xml configuration file that will be
unmarshaled into JAXB model
+ (org.picketlink.idm.impl.configuration.jaxb2.generated package) and used
to create
+ IdentityConfigurationMetaData object. XML configuration is described by
identity-config.xsd file.
+ It is good to take a look at the example organization-test-config.xml
that is used in the testsuite.
+ </para>
+ </chapter>
+ <chapter>
+ <title>XML Configuration</title>
+ <programlisting>
+ <![CDATA[
+<jboss-identity xmlns="urn:jboss:identity:idm:config:v1_0_alpha"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:identity:idm:config:v1_0_alpha
identity-config.xsd">
+ <realms/>
+ <repositories/>
+ <stores/>
+</jboss-identity>
+ ]]>
+ </programlisting>
+ <para>Identity XML configuration can be divided into three
parts:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold"><![CDATA[<stores/>]]></emphasis>
+ - defines IdentityStore and AttributeStore instances</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold"><![CDATA[<repositories/>]]></emphasis>
+ - defines IdentityStoreRepository instances</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold"><![CDATA[<realms/>]]></emphasis>
+ - defines identity realms</para>
+ </listitem>
+ </itemizedlist>
+ </chapter>
+ <chapter>
+ <title>IdentityStore</title>
+ <para>This part is represented by
+ <emphasis
role="bold"><![CDATA[<stores><identity-store>...]]></emphasis>
+ element</para>
+ <programlisting>
+ <![CDATA[
+<stores>
+ <attribute-stores/>
+ <identity-stores>
+ <identity-store> ... </identity-store>
+ <identity-store> ... </identity-store>
+ </identity-stores>
+ </stores>
+ ]]>
+ </programlisting>
+ <note>
+ <para><emphasis
role="bold"><![CDATA[<stores/>]]></emphasis>
+ element contains <emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
+ and <emphasis
role="bold"><![CDATA[<attribute-store>]]></emphasis>
+ elements. Currently <emphasis
role="bold"><![CDATA[<attribute-store>]]></emphasis>
+ configuration is ignored so only <emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
+ elements can be configured.</para></note>
+ <programlisting>
+ <![CDATA[
+<identity-store>
+ <id>Sample Hibernate Store</id>
+
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+ <relationship-type>
+ JBOSS_IDENTITY_MEMBERSHIP
+ </relationship-type>
+ <relationship-type>
+ JBOSS_IDENTITY_ROLE
+ </relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ ...
+ </identity-object-type>
+
+ ...
+
+
+ <identity-object-type>
+ ...
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <option>
+ <name>persistenceUnit</name>
+ <value>jboss-identity-model-xxx</value>
+ </option>
+ <option>
+ <name>otherOption</name>
+ <value>value1</value>
+ <value>value2</value>
+ <value>value3</value>
+ </option>
+ </options>
+</identity-store>
+ ]]>
+ </programlisting>
+
+ <para><emphasis
role="bold"><![CDATA[<identity-store>]]></emphasis>
element:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis role="bold">id</emphasis>
- IdentityStore id</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">class</emphasis> - IdentityStore class name</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">external-config</emphasis> - external configuration file
used by IdentityStore</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">supported-relationship-types</emphasis>
+ - IdentityObjectRelationshipType names that are supported by this
+ IdentityStore. JBOSS_IDENTITY_MEMBERSHIP is standard value used
by default framework implementation
+ for membership type relationships (between two Group objects) and
JBOSS_IDENTITY_ROLE is standard
+ value for Role type memberships (named
relationships)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">supported-identity-object-types</emphasis>
+ - configuration of IdentityObjectType objects mapped by
IdentityStore</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">options</emphasis> -
other IdentityStore configuration options</para>
+ </listitem>
+ </itemizedlist>
+
+ <programlisting>
+ <![CDATA[
+<supported-identity-object-types>
+ <identity-object-type>
+ <name>OFFICE</name>
+ <relationships>
+ <relationship>
+ <relationship-type-ref>
+ JBOSS_IDENTITY_MEMBERSHIP
+ </relationship-type-ref>
+ <identity-object-type-ref>
+ IDENTITY
+ </identity-object-type-ref>
+ </relationship>
+ <relationship>
+ <relationship-type-ref>
+ JBOSS_IDENTITY_MEMBERSHIP
+ </relationship-type-ref>
+ <identity-object-type-ref>
+ CONFERENCE_ROOM
+ </identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+
+ <identity-object-type>
+ <name>IDENTITY</name>
+ <relationships>
+ <relationship>
+ <relationship-type-ref>
+ JBOSS_IDENTITY_ROLE
+ </relationship-type-ref>
+ <identity-object-type-ref>
+ COMMUNITY
+ </identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ <credential-type>BINARY</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>picture</name>
+ <mapping>user.picture</mapping>
+ <type>binary</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ </attributes>
+ </identity-object-type>
+</supported-identity-object-types>
+ ]]>
+
+ </programlisting>
+
+ <para>
+ <![CDATA[<identity-object-type>]]> element:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">name</emphasis>- IdentityObjectType name</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">relationships</emphasis>
+ - relationships in which IdentityObjectType can be parent side.
+ <emphasis
role="bold"><![CDATA[<relationship-type-ref>]]></emphasis>
must point to one of values from
+ <emphasis
role="bold"><![CDATA[<supported-relationship-types>]]></emphasis>
+ . <emphasis
role="bold"><![CDATA[<identity-object-type-ref>]]></emphasis>
+ must be one of <emphasis
role="bold"><![CDATA[<identity-object-type><name>]]></emphasis>
+ values configured in this IdentityStore.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">credentials</emphasis>
+ - IdentityObjectCredentialType names allowed for this
IdentityObjectType</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">attributes</emphasis> - allowed attribute mappings. Each
contains:
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis
role="bold">name</emphasis> - attribute name
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">mapping</emphasis> - real name to be used inside
IdentityStore. For example LDAP attribute name
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">type</emphasis> - either "binary" or
"text" value
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">isRequired</emphasis> - if attribute cannot have no values
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">isMultivalued</emphasis> - if attribute can have many
values
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">isReadonly</emphasis> - if attribute values can be
modified
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">options</emphasis> - other options for IdentityObjectType
configuration</para>
+ </listitem>
+ </itemizedlist>
+ </chapter>
+ <chapter>
+ <title>IdentityStoreRepository</title>
+ <para>This section is represented by <emphasis
role="bold">
<![CDATA[<repositories><repository>]]></emphasis>
+ element</para>
+ <programlisting>
+ <![CDATA[
+<repositories>
+
+ <repository>
+ <id>X</id>
+ <class>
+ org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository
+ </class>
+ <external-config/>
+ <default-identity-store-id>
+ Hibernate Identity Store
+ </default-identity-store-id>
+ <default-attribute-store-id>
+ Hibernate Identity Store
+ </default-attribute-store-id>
+ <options>
+ </repository>
+
+ <repository>
+ <id>Y</id>
+ <class>
+ org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository
+ </class>
+ <external-config/>
+ <default-identity-store-id>
+ Hibernate Identity Store
+ </default-identity-store-id>
+ <default-attribute-store-id>
+ Hibernate Identity Store
+ </default-attribute-store-id>
+ <identity-store-mappings>
+ <identity-store-mapping>
+ <identity-store-id>
+ Hibernate Identity Store
+ </identity-store-id>
+ <identity-object-types>
+ <identity-object-type>
+ PROJECT
+ </identity-object-type>
+ <identity-object-type>
+ PEOPLE
+ </identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ <identity-store-mapping>
+ <identity-store-id>
+ LDAP Identity Store
+ </identity-store-id>
+ <identity-object-types>
+ <identity-object-type>
+ IDENTITY
+ </identity-object-type>
+ <identity-object-type>
+ ORGANIZATION
+ </identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ </identity-store-mappings>
+ <options/>
+ </repository>
+
+</repositories>
+ ]]>
+
+ </programlisting>
+
+ <para><emphasis
role="bold"><![CDATA[<repository>]]></emphasis> element
contains:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis role="bold">id</emphasis>
- IdentityStoreRepository id.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">class</emphasis> - class name of IdentityStoreRepository
implementation.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">external-config</emphasis> - external configuration file
used by
+ IdentityStoreRepository.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">default-identity-store-id</emphasis> - id of configured
IdentityStore
+ to be used by default.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">default-attribute-store-id</emphasis> - id of configured
AttributeStore
+ (or IdentityStore) to be used by default</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">identity-store-mappings</emphasis> - optional element.
Mappings between
+ IdentityObjectType names and IdentityStore ids. </para>
+ </listitem>
+ </itemizedlist>
+ </chapter>
+ <chapter>
+ <title>Realm</title>
+ <para>This section is represented by <emphasis
role="bold"><![CDATA[<realms><realm>]]></emphasis>
element</para>
+
+ <programlisting>
+ <![CDATA[
+<realm>
+ <id>realm://RedHat/DB</id>
+ <repository-id-ref>RedHat Repository DB</repository-id-ref>
+ <identity-type-mappings>
+ <identity-mapping>IDENTITY</identity-mapping>
+ </identity-type-mappings>
+</realm>
+ ]]>
+
+ </programlisting>
+
+ <para>
+ <emphasis
role="bold"><![CDATA[<realm>]]></emphasis> element
contains:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis role="bold">id</emphasis>
- realm id</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">repository-id-ref</emphasis> - id of configured
IdentityStoreRepository </para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">identity-type-mappings</emphasis>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">identity-mapping</emphasis>
+ - name of IdentityObjectType that should be maped as
Identity
+ object on the API side</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </chapter>
+ </part>
+
+ <part>
+ <title>IdentityStore Implementations</title>
+ <chapter>
+ <title>Overview</title>
+ <para>
+ This part describes different IdentityStore implementations that comes
with the framework and their
+ configuration options
+ </para>
+ </chapter>
+
+ <chapter>
+ <title>Hibernate IdentityStore</title>
+ <sect1>
+ <title>Class Name</title>
+
<para>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</para>
+ </sect1>
+ <sect1>
+ <title>Overview</title>
+ <para> HibernateIdentityStoreImpl maps PicketLink IDM SPI model
into Hibernate entities.
+ This enables to use any RDBMS supported by Hibernate as identity
persistence store (IdentityStore).
+ Because of flexibility that ORM gives this IdentityStore
implementation support all of the optional
+ design concepts like role management. It can be used as the default
IdentityStore together with other
+ more limited implementations. For example in combination with LDAP
IdentityStore it can handle
+ IdentityObject attributes that are not supported in LDAP schema. In
such configuration part of
+ IdentityObject profile will be stored in LDAP and part in relational
database. To learn more about
+ such setup please read FallbackIdentityStoreRepository documentation.
In current version
+ implementation doesn't have any caching mechanism besides of what
can be set in hibernate
+ configuration</para>
+ </sect1>
+ <sect1>
+ <title>Configuration Options</title>
+ <para>
+ <itemizedlist>
+
+ <listitem>
+ <para><emphasis
role="bold">hibernateConfiguration</emphasis>
+ - the hibernate configuration file that will be used to
+ create SessionFactory</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">hibernateSessionFactoryJNDIName</emphasis>
+ - JNDI name of hibernate SessionFactory that will be used
+ to obtain it</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">hibernateSessionFactoryRegistryName</emphasis>
+ - name of hibernate SessionFactory placed in the
+ IdentityConfigurationRegistry that will be used to obtain
it</para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis
role="bold">addHibernateMappings</emphasis>
+ - of set to true all annotated hibernate model classes
will be added
+ to the hibernate configuration before SessionFactory is
created</para>
+ </listitem>
+
+ <listitem>
+ <para>
+ <emphasis
role="bold">populateRelationshipTypes</emphasis>
+ - true/false - Populate configured
<![CDATA[<supported-relationship-types>]]>
+ (IdentityObjectRelationshipType in SPI model) during
IdentityStore initialization.
+ Default value is 'false'</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">populateIdentityObjectTypes</emphasis>
+ - true/false - Populate configured
<![CDATA[<supported-identity-object-types>]]>
+ (IdentityObjectType in SPI model) during IdentityStore
initialization. Default value is 'false'</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">allowNotDefinedAttributes</emphasis>
+ - true/false - Allow to set IdentityObject attributes
that
+ are not specified in
<![CDATA[<identity-object-type>]]> configuration. Such attributes
+ are assumed to have "text" type and many
values. Default value is 'false'.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">isRealmAware</emphasis>
+ - true/false - If set to true HibernateIdentityStoreImpl
will create
+ separate namespaces for different Realms from which
method invocations come. This means
+ that each IdentityObject, IdentityObjectRelationship and
IdentityObjectRelationshipName
+ will be connected and only accessible with a realm name
in which it was created. Entities
+ representing IdentityObjectType,
IdentityObjectCredentialType and IdentityObjectRelationshipType
+ are always same for all realms and not affected with this
option. Default value is 'false'. </para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">manageTransactionDuringBootstrap</emphasis>
+ - true/false - indicate that transactions should be
managed
+ manually during store bootstrap when initial entities are
created. </para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">allowNotDefinedIdentityObjectTypes</emphasis>
+ - true/false - indicate that store won't check
+ for a given IdentityObjectType configuration and if one is
not specified it will be just
+ lazily created. This option enables to have minimal xml
config without definition of all
+ constraints in relationship between types. </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </sect1>
+ <sect1>
+ <title>Sample Configuration</title>
+ <para></para>
+ <programlisting>
+ <![CDATA[
+<identity-store>
+ <id>Hibernate Identity Store</id>
+
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+ <relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+ <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ <name>IDENTITY</name>
+ <relationships/>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>user.name.given</name>
+ <mapping>user.name.given</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>picture</name>
+ <mapping>user.picture</mapping>
+ <type>binary</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ </attributes>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+ <identity-object-type-ref>IDENTITY</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+ <identity-object-type-ref>IDENTITY</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <option>
+ <name>hibernateConfiguration</name>
+ <value>hibernate-jboss-identity.cfg.xml</value>
+ </option>
+ <option>
+ <name>populateRelationshipTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>populateIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>isRealmAware</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </identity-store>
+ ]]>
+ </programlisting>
+ <para>
+ In case 'addHibernateMappings' option is not set to true
hibernate configuration need to list all
+ annotated model classes:
+ </para>
+ <programlisting>
+ <![CDATA[
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectTextAttribute"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectBinaryAttribute"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"/>
+<mapping
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"/>
+ ]]>
+ </programlisting>
+
+ </sect1>
+ </chapter>
+ <chapter>
+ <title>LDAP IdentityStore</title>
+ <sect1>
+ <title>Class Name</title>
+
<para>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</para>
+ </sect1>
+ <sect1>
+ <title>Overview</title>
+ <para> LDAPIdentityStoreImpl provides support for LDAP as identity
persistence store (IdentityStore).
+ At this stage the implementation is a bit limitted:</para>
+ <itemizedlist>
+ <listitem>
+ <para>Role management (IdentityObjectRelationshipName) is
not supported</para>
+ </listitem>
+ <listitem>
+ <para>Only "text" attribute type can be
mapped</para>
+ </listitem>
+ <listitem>
+ <para>Only "PASSWORD"
<![CDATA[<credential-type>]]> can be mapped</para>
+ </listitem>
+ </itemizedlist>
+ </sect1>
+ <sect1>
+ <title>Configuration</title>
+
<para><![CDATA[<identity-object-type><options>]]></para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">idAttributeName</emphasis>
+ - attribute name under which IdentityObject name is specified.
Required.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">passwordAttributeName</emphasis>
+ - attribute name under which IdentityObject password is
specified. Optional.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">ctxDNs</emphasis>
+ - DN that will be used as context for IdentityObject searches.
More than one value can be specified.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">allowCreateEntry</emphasis>
+ - true/false - Specify if new IdentityObject can be
created.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">createEntryAttributeValues</emphasis>
+ - defines a set of ldap attributes that will be set on
IdentityObject entry creation. Values
+ are in "name=value" format. This enables to fulfill
LDAP schema requirements.Default is false</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">parentMembershipAttributeName</emphasis>
+ - LDAP attribute that defines children of IdentityObject. This
will be used to retrieved
+ relationships from IdentityObject entry. Option is required if
IdentityObjectType can be part of relationship.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">isParentMembershipAttributeDN</emphasis>
+ - defines if values of attribute defined in
parentMembershipAttributeName are fully qualified LDAP DNs.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">allowEmptyMemberships</emphasis>
+ - defines if IdentityObject entry can have no members.
Sometimes it is not allowed by LDAP schema.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">parentMembershipAttributePlaceholder</emphasis>
+ - if LDAP schema doesn't allow empty memberships this value
will be used as a placeholder. IdentityObject
+ specified here won't be recognized as a member and
ignored</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">childMembershipAttributeName</emphasis>
+ - LDAP attribute that defines parents of IdentityObject. This
will be used to retrieved
+ relationships from IdentityObject entry. Good example of such
attribute in LDAP schema is 'memberOf'</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">childMembershipAttributeDN</emphasis>
+ - defines if values of attribute defined in
childMembershipAttributeName are fully qualified LDAP DNs.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">childMembershipAttributeVirtual</emphasis>
+ - specifies if attribute defined in
'childMembershipAttributeName' is a real attribute that
+ can be updated or virtual one which value is managed by a directory
and should not be updated</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">entrySearchFilter</emphasis>
+ - ldap filter to search IdentityObject with. {0} will be
substitute with IdentityObject name.
+ Example filter can look like this: "(uid={0})". This
substitution behavior comes from the
+ standard DirContext.search(Name, String, Object,
SearchControls cons) method</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">enclosePasswordWith</emphasis>
+ - if specified password will be surunted with a given chars
before update</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">passwordEncoding</emphasis>
+ - if specified password will be encoded before update. For
example Microsoft Active Directory
+ requires password to be enclosed with '"' and encoded
using 'UTF-16LE' for update.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">passwordUpdateAttributeValues</emphasis>
+ - list of attributes that should be changed during password
update</para>
+ </listitem>
+
+
+ </itemizedlist>
+ <para><emphasis
role="bold"><![CDATA[<identity-store><options>]]></emphasis></para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">providerURL</emphasis>
+ - LDAP connection URL. For example
"ldap://localhost:389"</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">adminDN</emphasis>
+ - LDAP entry used to connect to the server.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">adminPassword</emphasis>
+ - password related to adminDN</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">searchTimeLimit</emphasis>
+ -searchTimeLimit for LDAP search operations in miliseconds.
Default value is 10000.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">customJNDIConnectionParameters</emphasis>
+ - list of additional 'key=value' parameters that will
be used to create JNDI context. Can be
+ usefull to use additional JNDI options.</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">customSystemProperties</emphasis>
+ - list of 'key=value' properties that will be added
using System.setProperty() method. This
+ can be used to configure LDAP JNDI connection pooling which is
set per JVM</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">externalJNDIContext</emphasis>
+ - name that will be used to perform JDNI lookup to grab JNDI
connection context </para>
+ </listitem>
+ </itemizedlist>
+
+ </sect1>
+ <sect1>
+ <title>Sample Configuration</title>
+ <para></para>
+ <programlisting>
+ <![CDATA[
+<identity-store>
+ <id>Sample LDAP Store</id>
+ <class>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+ <relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ <name>IDENTITY</name>
+ <relationships/>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>phone</name>
+ <mapping>telephoneNumber</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>description</name>
+ <mapping>description</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>carLicense</name>
+ <mapping>carLicense</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ </attributes>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>uid</value>
+ </option>
+ <option>
+ <name>passwordAttributeName</name>
+ <value>password</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+ <value>ou=People,o=test,dc=example,dc=com</value>
+ </option>
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=inetOrgPerson</value>
+ <value>sn= </value>
+ <value>cn= </value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+ <identity-object-type-ref>IDENTITY</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+ <identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+ <identity-object-type-ref>GROUP</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+ <value>ou=Organizations,o=test,dc=example,dc=com</value>
+ </option>
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>membershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>isMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+ </option>
+ </options>
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <option>
+ <name>providerURL</name>
+ <value>ldap://localhost:10389</value>
+ </option>
+ <option>
+ <name>adminDN</name>
+ <value>cn=Directory Manager</value>
+ </option>
+ <option>
+ <name>adminPassword</name>
+ <value>password</value>
+ </option>
+ <option>
+ <name>searchTimeLimit</name>
+ <value>10000</value>
+ </option>
+ </options>
+</identity-store>
+ ]]>
+ </programlisting>
+ </sect1>
+ </chapter>
+ <chapter>
+ <title>Minimal Configuration</title>
+ <para>The main role of configuration is to define relationship between
separate framework components. It also
+ enables to specify a lot of meta data information describing possible
connections between IdentityObject types.
+ It is however possible to not define all those meta data information and let
the framework to be maximum permissive
+ about allowed operations and lazily create not defined types:</para>
+
+ <programlisting>
+ <![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
+ <realms>
+ <realm>
+ <id>realm://FlexibleRealm</id>
+ <repository-id-ref>Flexible Repo</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ </realms>
+ <repositories>
+ <repository>
+ <id>Flexible Repo</id>
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
+ <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ </repositories>
+ <stores>
+ <attribute-stores/>
+ <identity-stores>
+ <identity-store>
+ <id>Hibernate Identity Store</id>
+
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+ <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types/>
+ <options>
+ <option>
+ <name>hibernateSessionFactoryJNDIName</name>
+
<value>java:/jbossidentity/HibernateStoreSessionFactory</value>
+ </option>
+ <option>
+ <name>populateRelationshipTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>populateIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>isRealmAware</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </identity-store>
+ </identity-stores>
+ </stores>
+</jboss-identity>
+ ]]>
+ </programlisting>
+ </chapter>
+ </part>
+
+ <part>
+ <title>IdentityStoreRepository Implementations</title>
+ <chapter>
+ <title>WrapperIdentityStoreRepository</title>
+ <sect1>
+ <title>ClassName</title>
+
<para>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</para>
+ </sect1>
+ <sect1>
+ <title>Behaviour</title>
+ <pre>Simply wrapps single AttributeStore and IdentityStore and pass
all method invocations</pre>
+ </sect1>
+ <sect1>
+ <title>Sample Configuration</title>
+ <programlisting>
+ <![CDATA[
+<repository>
+ <id>Sample Repository</id
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>LDAP Store</default-identity-store-id>
+ <default-attribute-store-id>LDAP Store</default-attribute-store-id>
+</repository>
+
+ ]]>
+ </programlisting>
+ </sect1>
+
+ </chapter>
+ <chapter>
+ <title>FallbackIdentityStoreRepository</title>
+ <sect1>
+ <title>ClassName</title>
+
<para>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</para>
+ </sect1>
+ <sect1>
+ <title>Behaviour</title>
+ <pre>Resolves proper IdentityStore from IdentityObjectType mapping
and delegates method invocation.
+ For relationship related methods, if both IdentityObjectTypes are not
mapped in one store,
+ repository will try to sync them and associate in
defaultIdentityStore. For attributes that are not
+ mapped inside mapped IdentityStore repository will try to assign
those attributes in defaultAttributeStore.</pre>
+ </sect1>
+ <sect1>
+ <title>Configuration Options</title>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">allowNotDefinedAttributes</emphasis>
+ - if mapped IdentityStore doesn't support any attribute
that was
+ passed in method invocation FallbackIdentityStoreRepository
will try to store it in
+ defaultAttributeStore. If this option is set to true such
attribute will be passed to
+ defaultAttributeStore even if it is not mapped
there.</para>
+ </listitem>
+ </itemizedlist>
+ </sect1>
+ <sect1>
+ <title>Sample Configuration</title>
+ <programlisting>
+ <![CDATA[
+<repository>
+ <id>Repository XYZ</id>
+
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Identity Store XX</default-identity-store-id>
+ <default-attribute-store-id>Identity Store
XX</default-attribute-store-id>
+ <identity-store-mappings>
+ <identity-store-mapping>
+ <identity-store-id>Identity Store XX</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>DIVISION</identity-object-type>
+ <identity-object-type>PROJECT</identity-object-type>
+ <identity-object-type>PEOPLE</identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ <identity-store-mapping>
+ <identity-store-id>Identity Store YY</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>IDENTITY</identity-object-type>
+ <identity-object-type>ORGANIZATION</identity-object-type>
+ <identity-object-type>ORGANIZATION_UNIT</identity-object-type>
+ <identity-object-type>DEPARTMENT</identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ </identity-store-mappings>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+</repository>
+ ]]>
+ </programlisting>
+ </sect1>
+ </chapter>
+
+ </part>
+
+ <part>
+ <title>Attributes</title>
+ <chapter>
+ <title>API</title>
+ <para>On the API level each IdentityType object (Identity and Group)
can have associated Attribute objects.
+ All operations are exposed by AttributesManager interface. Each attribute
is described with
+ AttributeDescription that contains its properties such as:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">name</emphasis> - attribute name</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">readonly</emphasis> - if attribute values can be
changed</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">multivalued</emphasis> - if attribute can have many
values</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">required</emphasis> - if attribute can be
removed</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">type</emphasis> - type of attribute values. </para>
+ </listitem>
+ </itemizedlist>
+ <para>Default implementation provides two attribute
types:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">text</emphasis> - java.lang.String object</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">binary</emphasis> - byte[] object</para>
+ </listitem>
+
+ </itemizedlist>
+ <sect1>
+ <title>Sample operations</title>
+ <programlisting role="java">
+Identity user = session.getPersistenceManager().
+createIdentity("sampleUser");
+
+// Check that binary attribute 'picture' is mapped
+
+AttributeDescription attributeDescription =
+session.getAttributesManager().
+getAttributeDescription(user, "picture");
+assertNotNull(attributeDescription);
+assertEquals("binary", attributeDescription.getType());
+
+
+// Generate random binary data for binary attribute
+
+Random random = new Random();
+byte[] picture = new byte[5120];
+random.nextBytes(picture);
+
+
+// User attributes
+Attribute[] userInfo = new Attribute[]
+{
+new SimpleAttribute(P3PConstants.INFO_USER_NAME_GIVEN,
+new String[]{"John"}),
+new SimpleAttribute(P3PConstants.INFO_USER_NAME_FAMILY,
+new String[]{"Doe"}),
+new SimpleAttribute("picture", new byte[][]{picture})
+};
+
+session.getAttributesManager().
+addAttributes(user, userInfo);
+
+....
+
+AttributesManager attrMgr = session.getAttributesManager();
+
+attrMgr.addAttribute(anneUser,
+P3PConstants.INFO_USER_NAME_GIVEN, "Anne");
+attrMgr.addAttribute(anneUser,
+P3PConstants.INFO_USER_NAME_FAMILY, "Smith");
+attrMgr.addAttribute(anneUser,
+P3PConstants.INFO_USER_JOB_TITLE, "Senior Software Developer");
+attrMgr.addAttribute(anneUser,
+P3PConstants.INFO_USER_BUSINESS_INFO_ONLINE_EMAIL, "anne.smith(a)acme.com");
+attrMgr.addAttribute(anneUser,
+P3PConstants.INFO_USER_BUSINESS_INFO_TELECOM_MOBILE_NUMBER, "777 777 777 7
77");
+ </programlisting>
+
+ </sect1>
+ </chapter>
+ <chapter>
+ <title>SPI</title>
+ <para>On the SPI level IdentityObject can be associated with several
IdentityObjectAttribute objects.
+ IdentityObjectAttribute is described by IdentityObjectAttributeMetaData
object that contains its
+ properties such as:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">name</emphasis> - attribute name</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">readonly</emphasis> - if attribute values can be
changed</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">multivalued</emphasis> - if attribute can have many
values</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">required</emphasis> - if attribute can be
removed</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">type</emphasis> - type of attribute values. </para>
+ </listitem>
+ </itemizedlist>
+ <para>IdentityObjectAttribute types supported by default
implementations are the same as in the API level:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">text</emphasis> - java.lang.String object</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">binary</emphasis> - byte[] object</para>
+ </listitem>
+
+ </itemizedlist>
+ <para>
+ All operations related to IdentityObjectAttribute are exposed by the
AttributeStore interface
+ </para>
+ </chapter>
+
+ </part>
+
+ <part>
+ <title>Credentials</title>
+ <chapter>
+ <title>API</title>
+ <para>
+ API contains Credential and CredentialType interfaces.
+ CredentialType defines type of credential object. Default implementation
supports two types:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">PASSWORD</emphasis> - text password represented by
java.lang.String object</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">BINARY</emphasis> - binary credential represented by
byte[]. For example some kind of certificate.</para>
+ </listitem>
+
+ </itemizedlist>
+ <para>
+ Two basic implementations are provided:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">org.picketlink.idm.impl.api.BinaryCredential</emphasis>
+ - Credential with BINARY CredentialType</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">org.picketlink.idm.impl.api.PasswordCredential</emphasis>
+ - Credential with PASSWORD CredentialType</para>
+ </listitem>
+
+ </itemizedlist>
+ <para>
+ Because credentials values are stored as hash or in other encoded form
both SPI and API only enables
+ to update and validate credential value and not to read it from
persistence store. API enables to only
+ protect Identity objects with credentials. All related management
operations are exposed in
+ AttributesManager interface.
+ </para>
+ <programlisting role="java">
+
+
+User anotherOne = session.getPersistenceManager().createUser("blah1");
+
+session.getAttributesManager().updatePassword(anotherOne, "Password2000");
+assertTrue(session.getAttributesManager().validatePassword(anotherOne,
"Password2000"));
+
+Credential password = new PasswordCredential("SuperPassword2345");
+session.getAttributesManager().updateCredential(anotherOne, password);
+assertTrue(session.getAttributesManager().validateCredentials(anotherOne, new
Credential[]{password}));
+
+// binary credential
+byte[] cert = new byte[512000];
+random.nextBytes(cert);
+Credential binaryCredential = new BinaryCredential(cert);
+session.getAttributesManager().updateCredential(anotherOne, binaryCredential);
+assertTrue(session.getAttributesManager().validateCredentials(anotherOne, new
Credential[]{binaryCredential}));
+
+ </programlisting>
+ </chapter>
+ <chapter>
+ <title>SPI</title>
+ <para>
+ SPI contains IdentityObjectCredential and IdentityObjectCredentialType
interfaces that correspons to
+ Credential and CredentialType interfaces in the API. Implementation
supports the same two
+ (PASSWORD and BINARY) types. Management operations are exposed in
IdentityStore interface. Each
+ IdentityObjectType can be configured to support different
IdentityObjectCredentialType. This
+ information is exposed by FeaturesMetaData interface.
+ </para>
+ <para>
+ IdentityObjectCredential interface exposes two methods to retrieve
credential value:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis
role="bold">getValue</emphasis> - returns either String for text based
credentials or
+ byte[] for binary.
+ True credential value may be needed by different IdentityStore
implementations for validation.
+ For example with LDAP authentication for IdentityObject entry
will be performed</para>
+ </listitem>
+ <listitem>
+ <para><emphasis
role="bold">getEncodedValue</emphasis> - Enables to provide
IdentityStore with custom
+ credential encoding method.
+ IdentityStore is not obligated to use encoded value. This should
return either String for text
+ based credentials or byte[] for binary. May return null if
credential implementation doesn't
+ provide encoding mechanism. IdentityStore </para>
+ </listitem>
+ </itemizedlist>
+ </chapter>
+ </part>
+ <part>
+ <title>Deployment</title>
+ <chapter>
+ <title>IDM Usage Scenario</title>
+ <para>There are two ways to use the jboss idm:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Use it as the embedded way
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Deploy it into the container (JBoss AS5), and then all other projects
can use it
+ by getting IdentitySessionFactory from JNDI.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ For the 1st case, users need to use the API to start the
IdentitySessionFactory, and then use it.
+ The code is as following, which you can find on the example module.
+ </para>
+ <programlisting>
+ <![CDATA[
+IdentitySessionFactory identitySessionFactory = new IdentityConfigurationImpl().
+ configure(new
File("src/test/resources/example-db-config.xml")).buildIdentitySessionFactory();
+IdentitySession identitySession =
identitySessionFactory.createIdentitySession("realm://JBossIdentityExample/SampleRealm");
+ ]]>
+ </programlisting>
+ <para>
+ And then use the IdentitySession to do the operations etc. So it is very easy
to use. We will look closer
+ at the second scenario in the next chapter
+ </para>
+ </chapter>
+ <chapter>
+ <title>JBoss AS 5 Deployment</title>
+ <para>Now, lets look at the second case, by deploying the idm into the
JBoss AS 5. By doing this different
+ services can share the identity component, instead of having its own seperate
identity component.</para>
+ <para>The jobs that need to be done for the deployment in the container is
quite simple:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Populate the idm schema if neccessary.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Start the IdentitySessionFactory, and then register it into the JNDI.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Before we look at it further, lets see the configuration files that jboss idm
needed typically.
+ (Say using db back-end, hibernate impl combination)
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>jboss idm configuration file. say
jboss.idm.cfg.xml</para>
+ </listitem>
+ <listitem>
+ <para>datasource file, say idm-ds.xml</para>
+ </listitem>
+ <listitem>
+ <para>hibernate cfg file, say
jboss.idm.hibernate.cfg.xml.</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>With regard to the detail of jboss idm configuration file, you can
refer to the configuration documentation.</para>
+ <para>So, if we want to deploy the idm into container with a specified
JNDI name, we need to have a deployment
+ file to define the JNDI and other neccessary properties.</para>
+ <para>
+ For the integration with JBoss AS5, the AS5 has a great deployment feature,
we've built our own deployer to
+ extend it, so that the AS can listen on the -jboss-idm.xml suffix file to
start the IdentitySessionFactory.
+ </para>
+ <para>
+ Basically, we had two deployer, one is: IDMConfigParsingDeployer class, which
is taking responsible for
+ parsing files that ends with the -jboss-idm.xml suffix into Java object. The
other is: IDMDeployer class,
+ this one is to do the real job, which means it might populate the schema,
initial dataset into target db,
+ and then start the IdentitySessionFactory, register it into the JNDI with the
specified name at last.
+ </para>
+ <para>
+ We will see a very typical deployment file looks like.
(default-jboss-idm.xml)
+ </para>
+ <programlisting>
+ <![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-idm-deployer xmlns="urn:jboss:identity:idm:deployer:v1_0_alpha"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:identity:idm:deployer:v1_0_alpha
identity-deployer.xsd">
+ <JNDIName>java:/IdentitySessionFactory</JNDIName>
+ <idmConfigFile>jboss.idm.cfg.xml</idmConfigFile>
+ <hibernateDeployer>
+
<hibernateConfiguration>jboss.idm.hibernate.cfg.xml</hibernateConfiguration>
+<hibernateSessionFactoryJNDIName>java:/IDMHibernateSessionFactory</hibernateSessionFactoryJNDIName>
+ </hibernateDeployer>
+ <initializers>
+ <datasource>java:/jbossidmDS</datasource>
+ <sqlInitializer>
+ <sqlFile>idm-sql/jboss.idm.@database@.create.sql</sqlFile>
+ <exitSQL>select * from jbid_io</exitSQL>
+ </sqlInitializer>
+ </initializers>
+</jboss-idm-deployer>
+ ]]>
+ </programlisting>
+
+ <itemizedlist>
+ <listitem>
+ <para>The deployment file must be named -jboss-idm.xml as suffix,
otherwise, it won't be recoginzed
+ in the JBoss AS5 container.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The "JNDIName" and "idmConfigFile" attributes are
required. The JNDIName is the name for
+ keeping the started IdentitySessionFactory.
+
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The hibernateDeployer is optional, the reason that why we had the
hibernateDeployer is that
+ we can reuse the hibernateSessionFactory in the jboss idm configuration
file.
+
+ </para>
+ </listitem>
+ <listitem>
+ <para>The Initializer is optional, it is responsible for populating
the db schema
+ and initialized dataset if any.
+ </para>
+ </listitem>
+
+ </itemizedlist>
+ <para>detailed information about the deployment file is specified in the
identity-deployer.xsd file.</para>
+ <para>
+ Once you've deployed the idm into JBoss AS5, by using the distribution.
It will copy the idm-deployer
+ into the JBoss AS5/server/$config/deployers folder, and the idm folder into
the JBoss AS5/server/$config/deploy
+ folder, which contains the default configuration files, like the
jboss.idm.cfg.xml, idm-ds.xml etc.
+ </para>
+ </chapter>
+
+ </part>
+</book>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml 2009-11-19 15:07:00 UTC
(rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,81 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../../parent</relativePath>
- </parent>
-
-
- <modelVersion>4.0.0</modelVersion>
- <artifactId>Reference-Guide-${translation}</artifactId>
- <packaging>jdocbook</packaging>
- <name>User Guide (${translation})</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.2</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <sourceDocumentName>ReferenceGuide.xml</sourceDocumentName>
- <imageResource>
- <directory>${pom.basedir}/en</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>ReferenceGuide.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <!-- needed for uri-resolvers; can be ommitted if using
'current' uri scheme -->
- <!-- could also locate the docbook dependency and inspect its
version... -->
- <docbookVersion>1.72.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <properties>
- <translation>en-US</translation>
- </properties>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml (from rev
1044, migration/idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml
(rev 0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/ReferenceGuide/pom.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,81 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../../parent</relativePath>
+ </parent>
+
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>Reference-Guide-${translation}</artifactId>
+ <packaging>jdocbook</packaging>
+ <name>User Guide (${translation})</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.1.2</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDocumentName>ReferenceGuide.xml</sourceDocumentName>
+ <imageResource>
+ <directory>${pom.basedir}/en</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>ReferenceGuide.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using
'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its
version... -->
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <properties>
+ <translation>en-US</translation>
+ </properties>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-docs/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,19 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-<parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
-</parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.docs</groupId>
- <artifactId>picketlink-idm-docs</artifactId>
- <packaging>pom</packaging>
- <name>PicketLink IDM Docs</name>
- <
url>http://www.jboss.com/products/jbossidentity</url>
- <description>PicketLink IDM Component Documentation</description>
- <modules>
- <module>ReferenceGuide</module>
- </modules>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-docs/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-docs/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,19 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+<parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+</parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.docs</groupId>
+ <artifactId>picketlink-idm-docs</artifactId>
+ <packaging>pom</packaging>
+ <name>PicketLink IDM Docs</name>
+ <
url>http://www.jboss.com/products/jbossidentity</url>
+ <description>PicketLink IDM Component Documentation</description>
+ <modules>
+ <module>ReferenceGuide</module>
+ </modules>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-hibernate/pom.xml 2009-11-19 15:07:00 UTC (rev
1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -1,113 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Hibernate</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM Hibernate</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- hibernate -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>3.3.2.GA</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>3.3.2.GA</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-annotations</artifactId>
- <version>3.4.0.GA</version>
- </dependency>
- <!--Javassist as Hibernate's bytecode provider-->
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.8.0.GA</version>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-cglib-repack</artifactId>
- <version>2.1_3</version>
- </dependency>
-
-
- <!-- Hibernate logging set up -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.2</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <systemProperties>
- <property>
- <name>dataSourceName</name>
- <value>${dataSourceName}</value>
- </property>
- <property>
- <name>directoryName</name>
- <value>${directoryName}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-hibernate/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml
(rev 0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -0,0 +1,113 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Hibernate</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM Hibernate</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- hibernate -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>3.3.2.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>3.3.2.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-annotations</artifactId>
+ <version>3.4.0.GA</version>
+ </dependency>
+ <!--Javassist as Hibernate's bytecode provider-->
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.8.0.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-cglib-repack</artifactId>
+ <version>2.1_3</version>
+ </dependency>
+
+
+ <!-- Hibernate logging set up -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>dataSourceName</name>
+ <value>${dataSourceName}</value>
+ </property>
+ <property>
+ <name>directoryName</name>
+ <value>${directoryName}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+
+</project>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- table="jbid_io">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <set name="attributes"
- inverse="true"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="IDENTITY_OBJECT_ID" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
/>
- </set>
- <set name="credentials"
- inverse="true"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="IDENTITY_OBJECT_ID" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
/>
- </set>
- <set name="fromRelationships"
- inverse="true"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="FROM_IDENTITY" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
- </set>
- <many-to-one name="identityType"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"
- access="field"
- fetch="join"
- lazy="false">
- <column name="IDENTITY_TYPE"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_io_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <many-to-one name="realm"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- access="field"
- fetch="select">
- <column name="REALM"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <set name="toRelationships"
- inverse="true"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="TO_IDENTITY" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
- </set>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObject.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ table="jbid_io">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <set name="attributes"
+ inverse="true"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="IDENTITY_OBJECT_ID" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
/>
+ </set>
+ <set name="credentials"
+ inverse="true"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="IDENTITY_OBJECT_ID" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
/>
+ </set>
+ <set name="fromRelationships"
+ inverse="true"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="FROM_IDENTITY" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
+ </set>
+ <many-to-one name="identityType"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"
+ access="field"
+ fetch="join"
+ lazy="false">
+ <column name="IDENTITY_TYPE"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_io_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <many-to-one name="realm"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ access="field"
+ fetch="select">
+ <column name="REALM"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <set name="toRelationships"
+ inverse="true"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="TO_IDENTITY" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
+ </set>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
- table="jbid_io_attr">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ATTRIBUTE_ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="identityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="join">
- <column name="IDENTITY_OBJECT_ID" not-null="true"
unique-key="id"/>
- </many-to-one>
- <property name="name"
- type="java.lang.String"
- access="property"
- lazy="false">
- <column name="NAME"
- unique-key="id" />
- </property>
- <property name="type"
- type="java.lang.String"
- access="field"
- lazy="false"
- not-null="true">
- <column name="ATTRIBUTE_TYPE"/>
- </property>
- <set name="textValues"
- table="jbid_io_attr_text_values"
- cascade="all, delete-orphan"
- access="field"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="TEXT_ATTR_VALUE_ID"/>
- <element type="string"
- column="ATTR_VALUE"/>
- </set>
- <many-to-one name="binaryValue"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttributeBinaryValue"
- not-null="false"
- column="BIN_VALUE_ID"
- unique="false"
- lazy="proxy"
- access="field"
- fetch="select"
- cascade="all"/>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
+ table="jbid_io_attr">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ATTRIBUTE_ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="identityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="join">
+ <column name="IDENTITY_OBJECT_ID" not-null="true"
unique-key="id"/>
+ </many-to-one>
+ <property name="name"
+ type="java.lang.String"
+ access="property"
+ lazy="false">
+ <column name="NAME"
+ unique-key="id" />
+ </property>
+ <property name="type"
+ type="java.lang.String"
+ access="field"
+ lazy="false"
+ not-null="true">
+ <column name="ATTRIBUTE_TYPE"/>
+ </property>
+ <set name="textValues"
+ table="jbid_io_attr_text_values"
+ cascade="all, delete-orphan"
+ access="field"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="TEXT_ATTR_VALUE_ID"/>
+ <element type="string"
+ column="ATTR_VALUE"/>
+ </set>
+ <many-to-one name="binaryValue"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttributeBinaryValue"
+ not-null="false"
+ column="BIN_VALUE_ID"
+ unique="false"
+ lazy="proxy"
+ access="field"
+ fetch="select"
+ cascade="all"/>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,62 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
- table="jbid_io_creden">
- <cache usage="read-write"/>
-
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="binaryValue"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialBinaryValue"
- not-null="false"
- column="BIN_VALUE_ID"
- unique="false"
- lazy="proxy"
- access="field"
- fetch="select"
- cascade="all"/>
- <many-to-one name="identityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="IDENTITY_OBJECT_ID"
- not-null="true"
- unique-key="id" />
- </many-to-one>
- <map name="properties"
- table="jbid_io_creden_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <property name="textValue"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="TEXT" />
- </property>
- <many-to-one name="type"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"
- access="field"
- fetch="join"
- lazy="false">
- <column name="CREDENTIAL_TYPE"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
+ table="jbid_io_creden">
+ <cache usage="read-write"/>
+
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="binaryValue"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialBinaryValue"
+ not-null="false"
+ column="BIN_VALUE_ID"
+ unique="false"
+ lazy="proxy"
+ access="field"
+ fetch="select"
+ cascade="all"/>
+ <many-to-one name="identityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="IDENTITY_OBJECT_ID"
+ not-null="true"
+ unique-key="id" />
+ </many-to-one>
+ <map name="properties"
+ table="jbid_io_creden_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <property name="textValue"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="TEXT" />
+ </property>
+ <many-to-one name="type"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"
+ access="field"
+ fetch="join"
+ lazy="false">
+ <column name="CREDENTIAL_TYPE"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,63 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
- table="jbid_io_rel">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="fromIdentityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="FROM_IDENTITY"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="name"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
- access="field"
- fetch="join"
- lazy="proxy">
- <column name="NAME"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="toIdentityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="TO_IDENTITY"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="type"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="REL_TYPE"
- not-null="true"
- unique-key="id" />
- </many-to-one>
- <map name="properties"
- table="jbid_io_rel_props"
- cascade="all, delete-orphan"
- fetch="subselect"
- lazy="true">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
+ table="jbid_io_rel">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="fromIdentityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="FROM_IDENTITY"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="name"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
+ access="field"
+ fetch="join"
+ lazy="proxy">
+ <column name="NAME"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="toIdentityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="TO_IDENTITY"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="type"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="REL_TYPE"
+ not-null="true"
+ unique-key="id" />
+ </many-to-one>
+ <map name="properties"
+ table="jbid_io_rel_props"
+ cascade="all, delete-orphan"
+ fetch="subselect"
+ lazy="extra">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
-"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
- table="jbid_io_rel_name">
- <cache usage="read-write"/>
-
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID"/>
- <generator class="native"/>
- </id>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_io_rel_name_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <many-to-one name="realm"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="REALM"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
-
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
+ table="jbid_io_rel_name">
+ <cache usage="read-write"/>
+
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID"/>
+ <generator class="native"/>
+ </id>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_io_rel_name_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <many-to-one name="realm"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="REALM"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
-"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class name="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- table="jbid_realm">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_real_props"
- cascade="all, delete-orphan"
- fetch="subselect"
- lazy="true">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/mappings/HibernateRealm.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class name="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ table="jbid_realm">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_real_props"
+ cascade="all, delete-orphan"
+ fetch="subselect"
+ lazy="extra">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- table="jbid_io">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <set name="attributes"
- inverse="true"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="IDENTITY_OBJECT_ID" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
/>
- </set>
- <set name="credentials"
- inverse="true"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="IDENTITY_OBJECT_ID" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
/>
- </set>
- <set name="fromRelationships"
- inverse="true"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="FROM_IDENTITY" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
- </set>
- <many-to-one name="identityType"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"
- access="field"
- fetch="join"
- lazy="false">
- <column name="IDENTITY_TYPE"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_io_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <many-to-one name="realm"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- access="field"
- fetch="select">
- <column name="REALM"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <set name="toRelationships"
- inverse="true"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key>
- <column name="TO_IDENTITY" />
- </key>
- <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
- </set>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObject.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ table="jbid_io">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <set name="attributes"
+ inverse="true"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="IDENTITY_OBJECT_ID" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
/>
+ </set>
+ <set name="credentials"
+ inverse="true"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="IDENTITY_OBJECT_ID" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
/>
+ </set>
+ <set name="fromRelationships"
+ inverse="true"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="FROM_IDENTITY" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
+ </set>
+ <many-to-one name="identityType"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectType"
+ access="field"
+ fetch="join"
+ lazy="false">
+ <column name="IDENTITY_TYPE"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_io_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <many-to-one name="realm"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ access="field"
+ fetch="select">
+ <column name="REALM"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <set name="toRelationships"
+ inverse="true"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key>
+ <column name="TO_IDENTITY" />
+ </key>
+ <one-to-many
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
/>
+ </set>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
- table="jbid_io_attr">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ATTRIBUTE_ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="identityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="join">
- <column name="IDENTITY_OBJECT_ID" not-null="true"
unique-key="id"/>
- </many-to-one>
- <property name="name"
- type="java.lang.String"
- access="property"
- lazy="false">
- <column name="NAME"
- unique-key="id" />
- </property>
- <property name="type"
- type="java.lang.String"
- access="field"
- lazy="false"
- not-null="true">
- <column name="ATTRIBUTE_TYPE"/>
- </property>
- <set name="textValues"
- table="jbid_io_attr_text_values"
- cascade="all, delete-orphan"
- access="field"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="TEXT_ATTR_VALUE_ID"/>
- <element type="string"
- column="ATTR_VALUE"/>
- </set>
- <many-to-one name="binaryValue"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttributeBinaryValue"
- not-null="false"
- column="BIN_VALUE_ID"
- unique="false"
- lazy="proxy"
- access="field"
- fetch="select"
- cascade="all"/>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectAttribute.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute"
+ table="jbid_io_attr">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ATTRIBUTE_ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="identityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="join">
+ <column name="IDENTITY_OBJECT_ID" not-null="true"
unique-key="id"/>
+ </many-to-one>
+ <property name="name"
+ type="java.lang.String"
+ access="property"
+ lazy="false">
+ <column name="NAME"
+ unique-key="id" />
+ </property>
+ <property name="type"
+ type="java.lang.String"
+ access="field"
+ lazy="false"
+ not-null="true">
+ <column name="ATTRIBUTE_TYPE"/>
+ </property>
+ <set name="textValues"
+ table="jbid_io_attr_text_values"
+ cascade="all, delete-orphan"
+ access="field"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="TEXT_ATTR_VALUE_ID"/>
+ <element type="string"
+ column="ATTR_VALUE"/>
+ </set>
+ <many-to-one name="binaryValue"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttributeBinaryValue"
+ not-null="false"
+ column="BIN_VALUE_ID"
+ unique="false"
+ lazy="proxy"
+ access="field"
+ fetch="select"
+ cascade="all"/>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,62 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
- table="jbid_io_creden">
- <cache usage="read-write"/>
-
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="binaryValue"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialBinaryValue"
- not-null="false"
- column="BIN_VALUE_ID"
- unique="false"
- lazy="proxy"
- access="field"
- fetch="select"
- cascade="all"/>
- <many-to-one name="identityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="IDENTITY_OBJECT_ID"
- not-null="true"
- unique-key="id" />
- </many-to-one>
- <map name="properties"
- table="jbid_io_creden_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <property name="textValue"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="TEXT" />
- </property>
- <many-to-one name="type"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"
- access="field"
- fetch="join"
- lazy="false">
- <column name="CREDENTIAL_TYPE"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectCredential.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredential"
+ table="jbid_io_creden">
+ <cache usage="read-write"/>
+
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="binaryValue"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialBinaryValue"
+ not-null="false"
+ column="BIN_VALUE_ID"
+ unique="false"
+ lazy="proxy"
+ access="field"
+ fetch="select"
+ cascade="all"/>
+ <many-to-one name="identityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="IDENTITY_OBJECT_ID"
+ not-null="true"
+ unique-key="id" />
+ </many-to-one>
+ <map name="properties"
+ table="jbid_io_creden_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <property name="textValue"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="TEXT" />
+ </property>
+ <many-to-one name="type"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectCredentialType"
+ access="field"
+ fetch="join"
+ lazy="false">
+ <column name="CREDENTIAL_TYPE"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,63 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
- table="jbid_io_rel">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <many-to-one name="fromIdentityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="FROM_IDENTITY"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="name"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
- access="field"
- fetch="join"
- lazy="proxy">
- <column name="NAME"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="toIdentityObject"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="TO_IDENTITY"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
- <many-to-one name="type"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="REL_TYPE"
- not-null="true"
- unique-key="id" />
- </many-to-one>
- <map name="properties"
- table="jbid_io_rel_props"
- cascade="all, delete-orphan"
- fetch="subselect"
- lazy="true">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationship.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationship"
+ table="jbid_io_rel">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <many-to-one name="fromIdentityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="FROM_IDENTITY"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="name"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
+ access="field"
+ fetch="join"
+ lazy="proxy">
+ <column name="NAME"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="toIdentityObject"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="TO_IDENTITY"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+ <many-to-one name="type"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipType"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="REL_TYPE"
+ not-null="true"
+ unique-key="id" />
+ </many-to-one>
+ <map name="properties"
+ table="jbid_io_rel_props"
+ cascade="all, delete-orphan"
+ fetch="subselect"
+ lazy="extra">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
-"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
- table="jbid_io_rel_name">
- <cache usage="read-write"/>
-
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID"/>
- <generator class="native"/>
- </id>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_io_rel_name_props"
- cascade="all, delete-orphan"
- lazy="true"
- fetch="subselect">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- <many-to-one name="realm"
-
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- access="field"
- fetch="select"
- lazy="proxy">
- <column name="REALM"
- not-null="true"
- unique-key="id"/>
- </many-to-one>
-
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateIdentityObjectRelationshipName.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class
name="org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName"
+ table="jbid_io_rel_name">
+ <cache usage="read-write"/>
+
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID"/>
+ <generator class="native"/>
+ </id>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_io_rel_name_props"
+ cascade="all, delete-orphan"
+ lazy="extra"
+ fetch="subselect">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ <many-to-one name="realm"
+
class="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ access="field"
+ fetch="select"
+ lazy="proxy">
+ <column name="REALM"
+ not-null="true"
+ unique-key="id"/>
+ </many-to-one>
+
+ </class>
+</hibernate-mapping>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
-"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<hibernate-mapping>
- <class name="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
- table="jbid_realm">
- <cache usage="read-write"/>
- <id name="id"
- type="java.lang.Long"
- access="field">
- <column name="ID" />
- <generator class="native"/>
- </id>
- <property name="name"
- type="java.lang.String"
- access="field"
- lazy="false">
- <column name="NAME"
- not-null="true"
- unique-key="id"/>
- </property>
- <map name="properties"
- table="jbid_real_props"
- cascade="all, delete-orphan"
- fetch="subselect"
- lazy="true">
- <cache usage="read-write"/>
- <key column="PROP_ID"/>
- <map-key type="string"
- column="PROP_NAME"/>
- <element type="string"
- column="PROP_VALUE"
- not-null="true"/>
- </map>
- </class>
-</hibernate-mapping>
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-hibernate/src/main/resources/sybase-mappings/HibernateRealm.hbm.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class name="org.picketlink.idm.impl.model.hibernate.HibernateRealm"
+ table="jbid_realm">
+ <cache usage="read-write"/>
+ <id name="id"
+ type="java.lang.Long"
+ access="field">
+ <column name="ID" />
+ <generator class="native"/>
+ </id>
+ <property name="name"
+ type="java.lang.String"
+ access="field"
+ lazy="false">
+ <column name="NAME"
+ not-null="true"
+ unique-key="id"/>
+ </property>
+ <map name="properties"
+ table="jbid_real_props"
+ cascade="all, delete-orphan"
+ fetch="subselect"
+ lazy="extra">
+ <cache usage="read-write"/>
+ <key column="PROP_ID"/>
+ <map-key type="string"
+ column="PROP_NAME"/>
+ <element type="string"
+ column="PROP_VALUE"
+ not-null="true"/>
+ </map>
+ </class>
+</hibernate-mapping>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-ldap/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,73 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-ldap</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM LDAP</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM LDAP</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.unit</groupId>
- <artifactId>jboss-unit</artifactId>
- <version>1.2.2</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <systemProperties>
- <property>
- <name>dataSourceName</name>
- <value>${dataSourceName}</value>
- </property>
- <property>
- <name>directoryName</name>
- <value>${directoryName}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
-
- </plugins>
- </build>
-
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-ldap/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-ldap/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,73 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM LDAP</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM LDAP</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.unit</groupId>
+ <artifactId>jboss-unit</artifactId>
+ <version>1.2.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>dataSourceName</name>
+ <value>${dataSourceName}</value>
+ </property>
+ <property>
+ <name>directoryName</name>
+ <value>${directoryName}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+
+ </plugins>
+ </build>
+
+
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-spi/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -1,71 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-spi</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM SPI</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink SPI</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doclet>org.jboss.apiviz.APIviz</doclet>
- <docletArtifact>
- <groupId>org.jboss.apiviz</groupId>
- <artifactId>apiviz</artifactId>
- <version>1.2.5.GA</version>
- </docletArtifact>
- <additionalparam>
- -charset UTF-8
- -docencoding UTF-8
- -version
- -author
- -breakiterator
- -windowtitle "${project.name} ${project.version} API
Reference"
- -doctitle "${project.name} ${project.version} API Reference"
- -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
- -link
http://java.sun.com/javase/6/docs/api/
- -sourceclasspath ${project.build.outputDirectory}
- </additionalparam>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-spi/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml (rev
0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-spi/pom.xml 2009-11-19 16:48:07 UTC (rev
1045)
@@ -0,0 +1,71 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-spi</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM SPI</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink SPI</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doclet>org.jboss.apiviz.APIviz</doclet>
+ <docletArtifact>
+ <groupId>org.jboss.apiviz</groupId>
+ <artifactId>apiviz</artifactId>
+ <version>1.2.5.GA</version>
+ </docletArtifact>
+ <additionalparam>
+ -charset UTF-8
+ -docencoding UTF-8
+ -version
+ -author
+ -breakiterator
+ -windowtitle "${project.name} ${project.version} API
Reference"
+ -doctitle "${project.name} ${project.version} API Reference"
+ -bottom "Copyright © ${project.inceptionYear}-Present
${project.organization.name}. All Rights Reserved."
+ -link
http://java.sun.com/javase/6/docs/api/
+ -sourceclasspath ${project.build.outputDirectory}
+ </additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
Deleted: migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml
===================================================================
--- migration/idm/trunk/picketlink-idm-testsuite/pom.xml 2009-11-19 15:07:00 UTC (rev
1040)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -1,191 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>../parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>picketlink-idm-testsuite</artifactId>
- <packaging>jar</packaging>
- <name>PicketLink IDM Testsuite</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description>PicketLink IDM Testsuite</description>
- <licenses>
- <license>
- <name>lgpl</name>
- <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
- </license>
- </licenses>
- <organization>
- <name>JBoss Inc.</name>
- <url>http://www.jboss.org</url>
- </organization>
- <scm>
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
-
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
-
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-cache</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-hibernate</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-ldap</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-core</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>1.8.0.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>sun-opends</groupId>
- <artifactId>OpenDS</artifactId>
- <version>1.0.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>berkeleydb</groupId>
- <artifactId>je</artifactId>
- <version>3.2.76</version>
- <scope>test</scope>
- </dependency>
-
- <!--JBoss Unit-->
-
- <dependency>
- <groupId>org.jboss.unit</groupId>
- <artifactId>jboss-unit</artifactId>
- <version>1.2.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.unit</groupId>
- <artifactId>portal-test</artifactId>
- <version>1.2.2</version>
-
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>hibernate</groupId>
- <artifactId>hibernate3</artifactId>
- </exclusion>
- <exclusion>
- <groupId>sun-opends</groupId>
- <artifactId>opends-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>jboss.jbossas.core-libs</groupId>
- <artifactId>jboss-local-jdbc</artifactId>
- <version>4.0.4.GA</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>jboss.jbossas.core-libs</groupId>
- <artifactId>jboss-common-jdbc-wrapper</artifactId>
- <version>4.0.4.GA</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>jboss</groupId>
- <artifactId>jboss-logging-spi</artifactId>
- <version>2.0.2.GA</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>jboss</groupId>
- <artifactId>jboss-logging-jdk</artifactId>
- <version>2.0.2.GA</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>jboss</groupId>
- <artifactId>jboss-logging-log4j</artifactId>
- <version>2.0.2.GA</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jtds</groupId>
- <artifactId>jtds</artifactId>
- <version>1.2.2</version>
- <scope>test</scope>
- </dependency>
-
-
-
-
- </dependencies>
-
-
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <useFile>true</useFile>
- <systemProperties>
- <property>
- <name>dataSourceName</name>
- <value>${dataSourceName}</value>
- </property>
- <property>
- <name>directoryName</name>
- <value>${directoryName}</value>
- </property>
- <property>
- <name>trustStorePath</name>
- <value>${trustStorePath}</value>
- </property>
- <property>
- <name>trustStorePassword</name>
- <value>${trustStorePassword}</value>
- </property>
- <property>
- <name>java.util.logging.config.file</name>
- <value>../parent/logging.properties</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml (from rev 1044,
migration/idm/trunk/picketlink-idm-testsuite/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml
(rev 0)
+++ migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/pom.xml 2009-11-19 16:48:07 UTC
(rev 1045)
@@ -0,0 +1,191 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>picketlink-idm-testsuite</artifactId>
+ <packaging>jar</packaging>
+ <name>PicketLink IDM Testsuite</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description>PicketLink IDM Testsuite</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbossidentity/trunk&...
+
<
developerConnection>scm:svn:https://svn.jboss.org/jbossidentity/trunk&...
+
<
url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossidentity/trunk<...
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-cache</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-hibernate</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-ldap</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-core</artifactId>
+ <version>${project.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>sun-opends</groupId>
+ <artifactId>OpenDS</artifactId>
+ <version>1.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>berkeleydb</groupId>
+ <artifactId>je</artifactId>
+ <version>3.2.76</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!--JBoss Unit-->
+
+ <dependency>
+ <groupId>org.jboss.unit</groupId>
+ <artifactId>jboss-unit</artifactId>
+ <version>1.2.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.unit</groupId>
+ <artifactId>portal-test</artifactId>
+ <version>1.2.2</version>
+
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>hibernate</groupId>
+ <artifactId>hibernate3</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>sun-opends</groupId>
+ <artifactId>opends-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>jboss.jbossas.core-libs</groupId>
+ <artifactId>jboss-local-jdbc</artifactId>
+ <version>4.0.4.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossas.core-libs</groupId>
+ <artifactId>jboss-common-jdbc-wrapper</artifactId>
+ <version>4.0.4.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.0.2.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-logging-jdk</artifactId>
+ <version>2.0.2.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-logging-log4j</artifactId>
+ <version>2.0.2.GA</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jtds</groupId>
+ <artifactId>jtds</artifactId>
+ <version>1.2.2</version>
+ <scope>test</scope>
+ </dependency>
+
+
+
+
+ </dependencies>
+
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <useFile>true</useFile>
+ <systemProperties>
+ <property>
+ <name>dataSourceName</name>
+ <value>${dataSourceName}</value>
+ </property>
+ <property>
+ <name>directoryName</name>
+ <value>${directoryName}</value>
+ </property>
+ <property>
+ <name>trustStorePath</name>
+ <value>${trustStorePath}</value>
+ </property>
+ <property>
+ <name>trustStorePassword</name>
+ <value>${trustStorePassword}</value>
+ </property>
+ <property>
+ <name>java.util.logging.config.file</name>
+ <value>../parent/logging.properties</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
Deleted:
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml
===================================================================
---
migration/idm/trunk/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml 2009-11-19
15:07:00 UTC (rev 1040)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -1,945 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
- <realms>
- <realm>
- <id>realm://RedHat/DB</id>
- <repository-id-ref>RedHat Repository DB</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- <realm>
- <id>realm://portal/SamplePortal/DB</id>
- <repository-id-ref>Sample Portal Repository DB</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- <realm>
- <id>realm://RedHat/DB_LDAP</id>
- <repository-id-ref>RedHat Repository DB+LDAP</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- <realm>
- <id>realm://portal/SamplePortal/DB_LDAP</id>
- <repository-id-ref>Sample Portal Repository
DB+LDAP</repository-id-ref>
- <identity-type-mappings>
- <user-mapping>USER</user-mapping>
- </identity-type-mappings>
- </realm>
- </realms>
- <repositories>
- <repository>
- <id>RedHat Repository DB</id>
-
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
- <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </repository>
- <repository>
- <id>Sample Portal Repository DB</id>
-
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
- <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </repository>
- <repository>
- <id>RedHat Repository DB+LDAP</id>
-
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
- <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
- <identity-store-mappings>
- <identity-store-mapping>
- <identity-store-id>Hibernate Identity
Store</identity-store-id>
- <identity-object-types>
- <identity-object-type>DIVISION</identity-object-type>
- <identity-object-type>PROJECT</identity-object-type>
- <identity-object-type>PEOPLE</identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- <identity-store-mapping>
- <identity-store-id>LDAP Identity Store</identity-store-id>
- <identity-object-types>
- <identity-object-type>USER</identity-object-type>
- <identity-object-type>ORGANIZATION</identity-object-type>
-
<identity-object-type>ORGANIZATION_UNIT</identity-object-type>
- <identity-object-type>DEPARTMENT</identity-object-type>
- </identity-object-types>
- <options>
- <option>
- <name>cache</name>
- <value>false</value>
- </option>
- <option>
- <name>cache.providerClass</name>
-
<value>org.picketlink.idm.impl.cache.JBossCacheIdentityStoreCacheProviderImpl</value>
- </option>
- <option>
- <name>cache.configFile</name>
- <value>jboss-cache-config.xml</value>
- </option>
- </options>
- </identity-store-mapping>
- </identity-store-mappings>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </repository>
- <repository>
- <id>Sample Portal Repository DB+LDAP</id>
-
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
- <external-config/>
- <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
- <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
- <identity-store-mappings>
- <identity-store-mapping>
- <identity-store-id>Hibernate Identity
Store</identity-store-id>
- <identity-object-types>
- <identity-object-type>SYSTEM</identity-object-type>
-
<identity-object-type>ADMINISTRATION</identity-object-type>
- <identity-object-type>COMMUNITY</identity-object-type>
- <identity-object-type>DIVISION</identity-object-type>
- <identity-object-type>SECURITY</identity-object-type>
- <identity-object-type>PEOPLE</identity-object-type>
- </identity-object-types>
- <options/>
- </identity-store-mapping>
- <identity-store-mapping>
- <identity-store-id>LDAP Identity Store</identity-store-id>
- <identity-object-types>
- <identity-object-type>USER</identity-object-type>
- <identity-object-type>DEPARTMENT</identity-object-type>
- <identity-object-type>ORGANIZATION</identity-object-type>
-
<identity-object-type>ORGANIZATION_UNIT</identity-object-type>
- <identity-object-type>OFFICE</identity-object-type>
- </identity-object-types>
- <options>
- <option>
- <name>cache</name>
- <value>false</value>
- </option>
- <option>
- <name>cache.providerClass</name>
-
<value>org.picketlink.idm.impl.cache.JBossCacheIdentityStoreCacheProviderImpl</value>
- </option>
- <option>
- <name>cache.configFile</name>
- <value>jboss-cache-config.xml</value>
- </option>
- </options>
- </identity-store-mapping>
- </identity-store-mappings>
- <options>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </repository>
- </repositories>
- <stores>
- <attribute-stores/>
- <identity-stores>
- <identity-store>
- <id>Hibernate Identity Store</id>
-
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
-
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
- <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- <name>USER</name>
- <relationships>
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>COMMUNITY</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>OFFICE</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>SECURITY</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>PROJECT</identity-object-type-ref>-->
- <!--</relationship>-->
- <!--<relationship>-->
-
<!--<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>-->
-
<!--<identity-object-type-ref>PEOPLE</identity-object-type-ref>-->
- <!--</relationship>-->
- </relationships>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- <credential-type>BINARY</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>picture</name>
- <mapping>user.picture</mapping>
- <type>binary</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>email</name>
- <mapping>mail</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- <isUnique>true</isUnique>
- </attribute>
- </attributes>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DIVISION</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION_UNIT</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DIVISION</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>OFFICE</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>PEOPLE</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>PROJECT</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>DIVISION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>DEPARTMENT</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>PROJECT</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>PEOPLE</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>ADMINISTRATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>COMMUNITY</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>OFFICE</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>SECURITY</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- <identity-object-type>
- <name>SYSTEM</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>SECURITY</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>COMMUNITY</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options/>
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <!--<option>-->
- <!--<name>hibernateConfiguration</name>-->
- <!--<value>hibernate-jboss-identity.cfg.xml</value>-->
- <!--</option>-->
- <option>
- <name>hibernateSessionFactoryJNDIName</name>
-
<value>java:/jbossidentity/HibernateStoreSessionFactory</value>
- </option>
- <option>
- <name>populateRelationshipTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>populateIdentityObjectTypes</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- <option>
- <name>isRealmAware</name>
- <value>true</value>
- </option>
- <option>
- <name>allowNotDefinedAttributes</name>
- <value>true</value>
- </option>
- </options>
- </identity-store>
- <identity-store>
- <id>LDAP Identity Store</id>
-
<class>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</class>
- <external-config/>
- <supported-relationship-types>
-
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
- </supported-relationship-types>
- <supported-identity-object-types>
- <identity-object-type>
- <name>USER</name>
- <relationships/>
- <credentials>
- <credential-type>PASSWORD</credential-type>
- </credentials>
- <attributes>
- <attribute>
- <name>phone</name>
- <mapping>telephoneNumber</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>description</name>
- <mapping>description</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>carLicense</name>
- <mapping>carLicense</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- </attribute>
- <attribute>
- <name>email</name>
- <mapping>mail</mapping>
- <type>text</type>
- <isRequired>false</isRequired>
- <isMultivalued>false</isMultivalued>
- <isReadOnly>false</isReadOnly>
- <isUnique>true</isUnique>
- </attribute>
- </attributes>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>uid</value>
- </option>
- <option>
- <name>passwordAttributeName</name>
- <value>userPassword</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=People,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=inetOrgPerson</value>
- <value>sn= </value>
- <value>cn= </value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>OFFICE</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=Organizations,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>ORGANIZATION_UNIT</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>OFFICE</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=OrganizationUnits,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>DEPARTMENT</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
- </relationship>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=Departments,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>OFFICE</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=Offices,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>GROUP</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=Groups,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- <identity-object-type>
- <name>ROLE</name>
- <relationships>
- <relationship>
-
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
-
<identity-object-type-ref>USER</identity-object-type-ref>
- </relationship>
- </relationships>
- <credentials/>
- <attributes/>
- <options>
- <option>
- <name>idAttributeName</name>
- <value>cn</value>
- </option>
- <option>
- <name>ctxDNs</name>
-
<value>ou=Roles,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <!--<option>-->
- <!--<name>entrySearchFilter</name>-->
- <!--<value></value>-->
- <!--</option>-->
- <option>
- <name>allowCreateEntry</name>
- <value>true</value>
- </option>
- <option>
- <name>parentMembershipAttributeName</name>
- <value>member</value>
- </option>
- <option>
- <name>parentMembershipAttributePlaceholder</name>
-
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>isParentMembershipAttributeDN</name>
- <value>true</value>
- </option>
- <option>
- <name>allowEmptyMemberships</name>
- <value>true</value>
- </option>
- <option>
- <name>createEntryAttributeValues</name>
- <value>objectClass=top</value>
- <value>objectClass=groupOfNames</value>
-
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
- </option>
- </options>
- </identity-object-type>
- </supported-identity-object-types>
- <options>
- <option>
- <name>providerURL</name>
- <value>ldap://dev39.qa.atl.jboss.com:389</value>
- </option>
- <option>
- <name>adminDN</name>
- <value>cn=Manager,dc=my-domain,dc=com</value>
- </option>
- <option>
- <name>adminPassword</name>
- <value>jbossqa</value>
- </option>
- <option>
- <name>searchTimeLimit</name>
- <value>10000</value>
- </option>
- <option>
- <name>sortExtensionSupported</name>
- <value>false</value>
- </option>
- </options>
- </identity-store>
- </identity-stores>
- </stores>
-</jboss-identity>
\ No newline at end of file
Copied:
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml
(from rev 1041,
migration/idm/trunk/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml)
===================================================================
---
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml
(rev 0)
+++
migration/idm/tags/1.0.0.CR1/picketlink-idm-testsuite/src/test/resources/test-identity-config-openldapds.xml 2009-11-19
16:48:07 UTC (rev 1045)
@@ -0,0 +1,917 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-identity xmlns="urn:picketlink:idm:config:v1_0_0_cr1"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:picketlink:idm:config:v1_0_0_cr1
identity-config.xsd">
+ <realms>
+ <realm>
+ <id>realm://RedHat/DB</id>
+ <repository-id-ref>RedHat Repository DB</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ <realm>
+ <id>realm://portal/SamplePortal/DB</id>
+ <repository-id-ref>Sample Portal Repository DB</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ <realm>
+ <id>realm://RedHat/DB_LDAP</id>
+ <repository-id-ref>RedHat Repository DB+LDAP</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ <realm>
+ <id>realm://portal/SamplePortal/DB_LDAP</id>
+ <repository-id-ref>Sample Portal Repository
DB+LDAP</repository-id-ref>
+ <identity-type-mappings>
+ <user-mapping>USER</user-mapping>
+ </identity-type-mappings>
+ </realm>
+ </realms>
+ <repositories>
+ <repository>
+ <id>RedHat Repository DB</id>
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
+ <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ <repository>
+ <id>Sample Portal Repository DB</id>
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
+ <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ <repository>
+ <id>RedHat Repository DB+LDAP</id>
+
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
+ <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
+ <identity-store-mappings>
+ <identity-store-mapping>
+ <identity-store-id>Hibernate Identity
Store</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>DIVISION</identity-object-type>
+ <identity-object-type>PROJECT</identity-object-type>
+ <identity-object-type>PEOPLE</identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ <identity-store-mapping>
+ <identity-store-id>LDAP Identity Store</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>USER</identity-object-type>
+ <identity-object-type>ORGANIZATION</identity-object-type>
+
<identity-object-type>ORGANIZATION_UNIT</identity-object-type>
+ <identity-object-type>DEPARTMENT</identity-object-type>
+ </identity-object-types>
+ <options>
+ <option>
+ <name>cache</name>
+ <value>false</value>
+ </option>
+ <option>
+ <name>cache.providerClass</name>
+
<value>org.picketlink.idm.impl.cache.JBossCacheIdentityStoreCacheProviderImpl</value>
+ </option>
+ <option>
+ <name>cache.configFile</name>
+ <value>jboss-cache-config.xml</value>
+ </option>
+ </options>
+ </identity-store-mapping>
+ </identity-store-mappings>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ <repository>
+ <id>Sample Portal Repository DB+LDAP</id>
+
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>Hibernate Identity
Store</default-identity-store-id>
+ <default-attribute-store-id>Hibernate Identity
Store</default-attribute-store-id>
+ <identity-store-mappings>
+ <identity-store-mapping>
+ <identity-store-id>Hibernate Identity
Store</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>SYSTEM</identity-object-type>
+
<identity-object-type>ADMINISTRATION</identity-object-type>
+ <identity-object-type>COMMUNITY</identity-object-type>
+ <identity-object-type>DIVISION</identity-object-type>
+ <identity-object-type>SECURITY</identity-object-type>
+ <identity-object-type>PEOPLE</identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ <identity-store-mapping>
+ <identity-store-id>LDAP Identity Store</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>USER</identity-object-type>
+ <identity-object-type>DEPARTMENT</identity-object-type>
+ <identity-object-type>ORGANIZATION</identity-object-type>
+
<identity-object-type>ORGANIZATION_UNIT</identity-object-type>
+ <identity-object-type>OFFICE</identity-object-type>
+ </identity-object-types>
+ <options>
+ <option>
+ <name>cache</name>
+ <value>false</value>
+ </option>
+ <option>
+ <name>cache.providerClass</name>
+
<value>org.picketlink.idm.impl.cache.JBossCacheIdentityStoreCacheProviderImpl</value>
+ </option>
+ <option>
+ <name>cache.configFile</name>
+ <value>jboss-cache-config.xml</value>
+ </option>
+ </options>
+ </identity-store-mapping>
+ </identity-store-mappings>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ </repositories>
+ <stores>
+ <attribute-stores/>
+ <identity-stores>
+ <identity-store>
+ <id>Hibernate Identity Store</id>
+
<class>org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+ <relationship-type>JBOSS_IDENTITY_ROLE</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ <name>USER</name>
+ <relationships>
+ </relationships>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ <credential-type>BINARY</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>picture</name>
+ <mapping>user.picture</mapping>
+ <type>binary</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>email</name>
+ <mapping>mail</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ <isUnique>true</isUnique>
+ </attribute>
+ </attributes>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DIVISION</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION_UNIT</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DIVISION</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>OFFICE</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>PEOPLE</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>PROJECT</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>DIVISION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>DEPARTMENT</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>PROJECT</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>PEOPLE</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ADMINISTRATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>COMMUNITY</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>OFFICE</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>SECURITY</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ <identity-object-type>
+ <name>SYSTEM</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_ROLE</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>SECURITY</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>COMMUNITY</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options/>
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <!--<option>-->
+ <!--<name>hibernateConfiguration</name>-->
+ <!--<value>hibernate-jboss-identity.cfg.xml</value>-->
+ <!--</option>-->
+ <option>
+ <name>hibernateSessionFactoryJNDIName</name>
+
<value>java:/jbossidentity/HibernateStoreSessionFactory</value>
+ </option>
+ <option>
+ <name>populateRelationshipTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>populateIdentityObjectTypes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>isRealmAware</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </identity-store>
+ <identity-store>
+ <id>LDAP Identity Store</id>
+
<class>org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl</class>
+ <external-config/>
+ <supported-relationship-types>
+
<relationship-type>JBOSS_IDENTITY_MEMBERSHIP</relationship-type>
+ </supported-relationship-types>
+ <supported-identity-object-types>
+ <identity-object-type>
+ <name>USER</name>
+ <relationships/>
+ <credentials>
+ <credential-type>PASSWORD</credential-type>
+ </credentials>
+ <attributes>
+ <attribute>
+ <name>phone</name>
+ <mapping>telephoneNumber</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>description</name>
+ <mapping>description</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>carLicense</name>
+ <mapping>carLicense</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ </attribute>
+ <attribute>
+ <name>email</name>
+ <mapping>mail</mapping>
+ <type>text</type>
+ <isRequired>false</isRequired>
+ <isMultivalued>false</isMultivalued>
+ <isReadOnly>false</isReadOnly>
+ <isUnique>true</isUnique>
+ </attribute>
+ </attributes>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>uid</value>
+ </option>
+ <option>
+ <name>passwordAttributeName</name>
+ <value>userPassword</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=People,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=inetOrgPerson</value>
+ <value>sn= </value>
+ <value>cn= </value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>OFFICE</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=Organizations,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ORGANIZATION_UNIT</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>OFFICE</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=OrganizationUnits,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>DEPARTMENT</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>DEPARTMENT</identity-object-type-ref>
+ </relationship>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>ORGANIZATION_UNIT</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=Departments,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>OFFICE</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=Offices,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>GROUP</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=Groups,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ <identity-object-type>
+ <name>ROLE</name>
+ <relationships>
+ <relationship>
+
<relationship-type-ref>JBOSS_IDENTITY_MEMBERSHIP</relationship-type-ref>
+
<identity-object-type-ref>USER</identity-object-type-ref>
+ </relationship>
+ </relationships>
+ <credentials/>
+ <attributes/>
+ <options>
+ <option>
+ <name>idAttributeName</name>
+ <value>cn</value>
+ </option>
+ <option>
+ <name>ctxDNs</name>
+
<value>ou=Roles,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <!--<option>-->
+ <!--<name>entrySearchFilter</name>-->
+ <!--<value></value>-->
+ <!--</option>-->
+ <option>
+ <name>allowCreateEntry</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributeName</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>parentMembershipAttributePlaceholder</name>
+
<value>ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>isParentMembershipAttributeDN</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>allowEmptyMemberships</name>
+ <value>true</value>
+ </option>
+ <option>
+ <name>createEntryAttributeValues</name>
+ <value>objectClass=top</value>
+ <value>objectClass=groupOfNames</value>
+
<value>member=ou=placeholder,o=test,o=trunk,o=idm,o=jbid,dc=my-domain,dc=com</value>
+ </option>
+ </options>
+ </identity-object-type>
+ </supported-identity-object-types>
+ <options>
+ <option>
+ <name>providerURL</name>
+ <value>ldap://dev39.qa.atl.jboss.com:389</value>
+ </option>
+ <option>
+ <name>adminDN</name>
+ <value>cn=Manager,dc=my-domain,dc=com</value>
+ </option>
+ <option>
+ <name>adminPassword</name>
+ <value>jbossqa</value>
+ </option>
+ <option>
+ <name>searchTimeLimit</name>
+ <value>10000</value>
+ </option>
+ <option>
+ <name>sortExtensionSupported</name>
+ <value>false</value>
+ </option>
+ </options>
+ </identity-store>
+ </identity-stores>
+ </stores>
+</jboss-identity>
\ No newline at end of file
Deleted: migration/idm/tags/1.0.0.CR1/pom.xml
===================================================================
--- migration/idm/trunk/pom.xml 2009-11-19 15:07:00 UTC (rev 1040)
+++ migration/idm/tags/1.0.0.CR1/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -1,107 +0,0 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>picketlink-idm-parent</artifactId>
- <version>1.0.0-CR1-SNAPSHOT</version>
- <relativePath>parent</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.picketlink.idm</groupId>
- <artifactId>jboss-identity-idm-pom</artifactId>
- <packaging>pom</packaging>
- <name>PicketLink IDM - Aggregator</name>
- <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
- <description></description>
-
- <modules>
- <module>parent</module>
- <module>picketlink-idm-common</module>
- <module>picketlink-idm-spi</module>
- <module>picketlink-idm-api</module>
- <module>picketlink-idm-core</module>
- <module>picketlink-idm-hibernate</module>
- <module>picketlink-idm-ldap</module>
- <module>picketlink-idm-cache</module>
- <module>picketlink-idm-auth</module>
- <module>picketlink-idm-testsuite</module>
- <module>integration</module>
- <module>picketlink-idm-docs</module>
- <module>example/simple</module>
- <module>example/auth</module>
- <module>example/auth-simple</module>
- </modules>
-
- <profiles>
- <profile>
- <id>distro</id>
- <modules>
- <module>parent</module>
- <module>picketlink-idm-common</module>
- <module>picketlink-idm-spi</module>
- <module>picketlink-idm-api</module>
- <module>picketlink-idm-core</module>
- <module>picketlink-idm-hibernate</module>
- <module>picketlink-idm-ldap</module>
- <module>picketlink-idm-cache</module>
- <module>picketlink-idm-auth</module>
- <module>picketlink-idm-testsuite</module>
- <module>integration</module>
- <module>assembly</module>
- </modules>
- <properties>
- <skipTests>true</skipTests>
- </properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- </profiles>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
-
- <aggregate>true</aggregate>
-
<excludePackageNames>org.picketlink.idm.impl</excludePackageNames>
- </configuration>
- </plugin>
- </plugins>
-
- </reporting>
-
-
-</project>
Copied: migration/idm/tags/1.0.0.CR1/pom.xml (from rev 1044, migration/idm/trunk/pom.xml)
===================================================================
--- migration/idm/tags/1.0.0.CR1/pom.xml (rev 0)
+++ migration/idm/tags/1.0.0.CR1/pom.xml 2009-11-19 16:48:07 UTC (rev 1045)
@@ -0,0 +1,114 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>picketlink-idm-parent</artifactId>
+ <version>1.0.0-CR1</version>
+ <relativePath>parent</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.idm</groupId>
+ <artifactId>jboss-identity-idm-pom</artifactId>
+ <packaging>pom</packaging>
+ <name>PicketLink IDM - Aggregator</name>
+ <
url>http://labs.jboss.org/portal/jbosssecurity/</url>
+ <description></description>
+
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>parent</module>
+ <module>picketlink-idm-common</module>
+ <module>picketlink-idm-spi</module>
+ <module>picketlink-idm-api</module>
+ <module>picketlink-idm-core</module>
+ <module>picketlink-idm-hibernate</module>
+ <module>picketlink-idm-ldap</module>
+ <module>picketlink-idm-cache</module>
+ <module>picketlink-idm-auth</module>
+ <module>picketlink-idm-testsuite</module>
+ <module>integration</module>
+ <module>picketlink-idm-docs</module>
+ <module>example/simple</module>
+ <module>example/auth</module>
+ <module>example/auth-simple</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>distro</id>
+ <modules>
+ <module>parent</module>
+ <module>picketlink-idm-common</module>
+ <module>picketlink-idm-spi</module>
+ <module>picketlink-idm-api</module>
+ <module>picketlink-idm-core</module>
+ <module>picketlink-idm-hibernate</module>
+ <module>picketlink-idm-ldap</module>
+ <module>picketlink-idm-cache</module>
+ <module>picketlink-idm-auth</module>
+ <module>picketlink-idm-testsuite</module>
+ <module>picketlink-idm-docs</module>
+ <module>integration</module>
+ <module>assembly</module>
+
+ </modules>
+ <properties>
+ <skipTests>true</skipTests>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+
+ <aggregate>true</aggregate>
+
<excludePackageNames>org.picketlink.idm.impl</excludePackageNames>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ </reporting>
+
+
+</project>