[picketlink-commits] Picketlink SVN: r333 - in idm/branches/1.1.0: assembly and 20 other directories.

picketlink-commits at lists.jboss.org picketlink-commits at lists.jboss.org
Wed Jul 7 09:29:13 EDT 2010


Author: bdaw
Date: 2010-07-07 09:29:07 -0400 (Wed, 07 Jul 2010)
New Revision: 333

Modified:
   idm/branches/1.1.0/assembly/pom.xml
   idm/branches/1.1.0/example/auth-simple/pom.xml
   idm/branches/1.1.0/example/auth/pom.xml
   idm/branches/1.1.0/example/simple/pom.xml
   idm/branches/1.1.0/integration/deployer/pom.xml
   idm/branches/1.1.0/integration/jboss5/pom.xml
   idm/branches/1.1.0/integration/pom.xml
   idm/branches/1.1.0/parent/pom.xml
   idm/branches/1.1.0/picketlink-idm-api/pom.xml
   idm/branches/1.1.0/picketlink-idm-auth/pom.xml
   idm/branches/1.1.0/picketlink-idm-cache/pom.xml
   idm/branches/1.1.0/picketlink-idm-common/pom.xml
   idm/branches/1.1.0/picketlink-idm-core/pom.xml
   idm/branches/1.1.0/picketlink-idm-docs/ReferenceGuide/pom.xml
   idm/branches/1.1.0/picketlink-idm-docs/pom.xml
   idm/branches/1.1.0/picketlink-idm-hibernate/pom.xml
   idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java
   idm/branches/1.1.0/picketlink-idm-ldap/pom.xml
   idm/branches/1.1.0/picketlink-idm-spi/pom.xml
   idm/branches/1.1.0/picketlink-idm-testsuite/pom.xml
   idm/branches/1.1.0/picketlink-idm-testsuite/src/test/java/org/picketlink/idm/impl/api/OrganizationTest.java
   idm/branches/1.1.0/pom.xml
Log:
- switch version to 1.1.5.CR02-SNAPSHOT 
- PLIDM-19 - Cannot update binary attributes for an IdentityObject

Modified: idm/branches/1.1.0/assembly/pom.xml
===================================================================
--- idm/branches/1.1.0/assembly/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/assembly/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -4,14 +4,14 @@
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm</artifactId>
-   <version>1.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
    <packaging>pom</packaging>
    <name>PicketLink IDM Assembly </name>
 	
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
 

Modified: idm/branches/1.1.0/example/auth/pom.xml
===================================================================
--- idm/branches/1.1.0/example/auth/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/example/auth/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -1,7 +1,7 @@
 <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.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
    <artifactId>example-auth</artifactId>
    <packaging>jar</packaging>
    <name>Example - JEE authentication</name>

Modified: idm/branches/1.1.0/example/auth-simple/pom.xml
===================================================================
--- idm/branches/1.1.0/example/auth-simple/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/example/auth-simple/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -1,7 +1,7 @@
 <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.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
    <artifactId>example-auth-simple</artifactId>
    <packaging>jar</packaging>
    <name>Example - JEE authentication (using deployer)</name>

Modified: idm/branches/1.1.0/example/simple/pom.xml
===================================================================
--- idm/branches/1.1.0/example/simple/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/example/simple/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -1,7 +1,7 @@
 <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.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
    <artifactId>example-simple</artifactId>
    <packaging>jar</packaging>
    <name>Example - Simple PicketLink IDM Maven2 project</name>

Modified: idm/branches/1.1.0/integration/deployer/pom.xml
===================================================================
--- idm/branches/1.1.0/integration/deployer/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/integration/deployer/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -8,12 +8,12 @@
    <groupId>org.picketlink.idm.integration</groupId>
    <artifactId>picketlink-idm-jboss5-deployer</artifactId>
    <packaging>jar</packaging>
-   <version>1.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
   
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-integration</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
    </parent>
 
    <properties>

Modified: idm/branches/1.1.0/integration/jboss5/pom.xml
===================================================================
--- idm/branches/1.1.0/integration/jboss5/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/integration/jboss5/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -8,12 +8,12 @@
    <groupId>org.picketlink.idm.integration</groupId>
    <artifactId>picketlink-idm-jboss5</artifactId>
    <packaging>jar</packaging>
-   <version>1.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
   
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-integration</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
    </parent>
 
    <dependencies>

Modified: idm/branches/1.1.0/integration/pom.xml
===================================================================
--- idm/branches/1.1.0/integration/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/integration/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -13,7 +13,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent/pom.xml</relativePath>
    </parent>
 

Modified: idm/branches/1.1.0/parent/pom.xml
===================================================================
--- idm/branches/1.1.0/parent/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/parent/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -8,7 +8,7 @@
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm-parent</artifactId>
    <packaging>pom</packaging>
-   <version>1.1.5.CR01</version>
+   <version>1.1.5.CR02-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>

Modified: idm/branches/1.1.0/picketlink-idm-api/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-api/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-api/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-auth/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-auth/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-auth/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-cache/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-cache/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-cache/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-common/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-common/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-common/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-core/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-core/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-core/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-docs/ReferenceGuide/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-docs/ReferenceGuide/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-docs/ReferenceGuide/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../../parent</relativePath>
    </parent>
 

Modified: idm/branches/1.1.0/picketlink-idm-docs/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-docs/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-docs/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
 <parent>
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm-parent</artifactId>
-   <version>1.1.5.CR01</version>
+   <version>1.1.5.CR02-SNAPSHOT</version>
    <relativePath>../parent</relativePath>
 </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-hibernate/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-hibernate/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-hibernate/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java
===================================================================
--- idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-hibernate/src/main/java/org/picketlink/idm/impl/store/hibernate/HibernateIdentityStoreImpl.java	2010-07-07 13:29:07 UTC (rev 333)
@@ -1945,7 +1945,7 @@
 
                   storeAttribute.setTextValues(v);
                }
-               else if (storeAttribute.equals(HibernateIdentityObjectAttribute.TYPE_BINARY))
+               else if (storeAttribute.getType().equals(HibernateIdentityObjectAttribute.TYPE_BINARY))
                {
 
                   if (!type.equals(IdentityObjectAttributeMetaData.BINARY_TYPE))

Modified: idm/branches/1.1.0/picketlink-idm-ldap/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-ldap/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-ldap/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-spi/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-spi/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-spi/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-testsuite/pom.xml
===================================================================
--- idm/branches/1.1.0/picketlink-idm-testsuite/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-testsuite/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/branches/1.1.0/picketlink-idm-testsuite/src/test/java/org/picketlink/idm/impl/api/OrganizationTest.java
===================================================================
--- idm/branches/1.1.0/picketlink-idm-testsuite/src/test/java/org/picketlink/idm/impl/api/OrganizationTest.java	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/picketlink-idm-testsuite/src/test/java/org/picketlink/idm/impl/api/OrganizationTest.java	2010-07-07 13:29:07 UTC (rev 333)
@@ -315,6 +315,24 @@
          assertEquals(4, attributes.keySet().size());
          assertEquals("Dawidowicz", (attributes.get(P3PConstants.INFO_USER_NAME_FAMILY)).getValue());
          assertTrue(Arrays.equals((byte[])attributes.get("picture").getValue(), picture));
+
+         // Update
+
+         // 500 kilobytes
+         picture = new byte[50600];
+         random.nextBytes(picture);
+
+         userInfo = new Attribute[]
+         {
+            new SimpleAttribute("picture", new byte[][]{picture}),
+         };
+
+
+         session.getAttributesManager().updateAttributes(bdawidowUser, userInfo);
+
+         attributes = session.getAttributesManager().getAttributes(bdawidowUser);
+         assertEquals(4, attributes.keySet().size());
+         assertTrue(Arrays.equals((byte[])attributes.get("picture").getValue(), picture));
       }
 
 

Modified: idm/branches/1.1.0/pom.xml
===================================================================
--- idm/branches/1.1.0/pom.xml	2010-07-07 13:10:15 UTC (rev 332)
+++ idm/branches/1.1.0/pom.xml	2010-07-07 13:29:07 UTC (rev 333)
@@ -3,7 +3,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.5.CR01</version>
+      <version>1.1.5.CR02-SNAPSHOT</version>
       <relativePath>parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>



More information about the picketlink-commits mailing list