[jboss-cvs] Picketlink SVN: r167 - in idm/trunk: assembly and 20 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 4 14:31:06 EST 2010


Author: bdaw
Date: 2010-03-04 14:31:05 -0500 (Thu, 04 Mar 2010)
New Revision: 167

Modified:
   idm/trunk/assembly/pom.xml
   idm/trunk/example/auth-simple/pom.xml
   idm/trunk/example/auth/pom.xml
   idm/trunk/example/simple/pom.xml
   idm/trunk/integration/deployer/pom.xml
   idm/trunk/integration/jboss5/pom.xml
   idm/trunk/integration/pom.xml
   idm/trunk/parent/pom.xml
   idm/trunk/picketlink-idm-api/pom.xml
   idm/trunk/picketlink-idm-auth/pom.xml
   idm/trunk/picketlink-idm-cache/pom.xml
   idm/trunk/picketlink-idm-common/pom.xml
   idm/trunk/picketlink-idm-core/pom.xml
   idm/trunk/picketlink-idm-core/src/main/java/org/picketlink/idm/impl/api/session/managers/AttributesManagerImpl.java
   idm/trunk/picketlink-idm-core/src/test/java/org/picketlink/idm/impl/store/CommonIdentityStoreTest.java
   idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml
   idm/trunk/picketlink-idm-docs/pom.xml
   idm/trunk/picketlink-idm-hibernate/pom.xml
   idm/trunk/picketlink-idm-ldap/pom.xml
   idm/trunk/picketlink-idm-spi/pom.xml
   idm/trunk/picketlink-idm-testsuite/pom.xml
   idm/trunk/pom.xml
Log:
- attributes caching issue
- small fix for LDAP tests	
- prepare 1.1.0.Beta8

Modified: idm/trunk/assembly/pom.xml
===================================================================
--- idm/trunk/assembly/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/assembly/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -4,14 +4,14 @@
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm</artifactId>
-   <version>1.1.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
    <packaging>pom</packaging>
    <name>PicketLink IDM Assembly </name>
 	
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
 

Modified: idm/trunk/example/auth/pom.xml
===================================================================
--- idm/trunk/example/auth/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/example/auth/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -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.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
    <artifactId>example-auth</artifactId>
    <packaging>jar</packaging>
    <name>Example - JEE authentication</name>

Modified: idm/trunk/example/auth-simple/pom.xml
===================================================================
--- idm/trunk/example/auth-simple/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/example/auth-simple/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -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.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
    <artifactId>example-auth-simple</artifactId>
    <packaging>jar</packaging>
    <name>Example - JEE authentication (using deployer)</name>

Modified: idm/trunk/example/simple/pom.xml
===================================================================
--- idm/trunk/example/simple/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/example/simple/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -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.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
    <artifactId>example-simple</artifactId>
    <packaging>jar</packaging>
    <name>Example - Simple PicketLink IDM Maven2 project</name>

Modified: idm/trunk/integration/deployer/pom.xml
===================================================================
--- idm/trunk/integration/deployer/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/integration/deployer/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -8,12 +8,12 @@
    <groupId>org.picketlink.idm.integration</groupId>
    <artifactId>picketlink-idm-jboss5-deployer</artifactId>
    <packaging>jar</packaging>
-   <version>1.1.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
   
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-integration</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
    </parent>
 
    <properties>

Modified: idm/trunk/integration/jboss5/pom.xml
===================================================================
--- idm/trunk/integration/jboss5/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/integration/jboss5/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -8,12 +8,12 @@
    <groupId>org.picketlink.idm.integration</groupId>
    <artifactId>picketlink-idm-jboss5</artifactId>
    <packaging>jar</packaging>
-   <version>1.1.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
   
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-integration</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
    </parent>
 
    <dependencies>

Modified: idm/trunk/integration/pom.xml
===================================================================
--- idm/trunk/integration/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/integration/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -13,7 +13,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent/pom.xml</relativePath>
    </parent>
 

Modified: idm/trunk/parent/pom.xml
===================================================================
--- idm/trunk/parent/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/parent/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -8,7 +8,7 @@
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm-parent</artifactId>
    <packaging>pom</packaging>
-   <version>1.1.0.Beta7</version>
+   <version>1.1.0.Beta8</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/trunk/picketlink-idm-api/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-api/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-api/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-auth/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-auth/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-auth/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-cache/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-cache/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-cache/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-common/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-common/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-common/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-core/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-core/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-core/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-core/src/main/java/org/picketlink/idm/impl/api/session/managers/AttributesManagerImpl.java
===================================================================
--- idm/trunk/picketlink-idm-core/src/main/java/org/picketlink/idm/impl/api/session/managers/AttributesManagerImpl.java	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-core/src/main/java/org/picketlink/idm/impl/api/session/managers/AttributesManagerImpl.java	2010-03-04 19:31:05 UTC (rev 167)
@@ -200,14 +200,9 @@
 
       if (cache != null)
       {
-         Map<String, Attribute> attrMap = new HashMap<String, Attribute>();
-
-         for (Attribute attribute : attributes)
-         {
-            attrMap.put(attribute.getName(), attribute);
-         }
-
-         cache.putAttributes(cacheNS, identity.getKey(), attrMap);
+         // Grab the new profile and persist in cache
+         cache.invalidateAttributes(cacheNS, identity.getKey());
+         this.getAttributes(identity);
       }
 
       postAttributesUpdate(identity, attributes);
@@ -318,7 +313,7 @@
       {
          // Grab the new profile and persist in cache
          cache.invalidateAttributes(cacheNS, identityType.getKey());
-         cache.putAttributes(cacheNS, identityType.getKey(), this.getAttributes(identityType));
+         this.getAttributes(identityType);
       }
 
       postAttributesAdd(identityType, attributes);
@@ -339,7 +334,7 @@
       {
          // Grab the new profile and persist in cache
          cache.invalidateAttributes(cacheNS, identityType.getKey());
-         cache.putAttributes(cacheNS, identityType.getKey(), this.getAttributes(identityType));
+         this.getAttributes(identityType);
       }
 
       postAttributesRemove(identityType, attributeNames);

Modified: idm/trunk/picketlink-idm-core/src/test/java/org/picketlink/idm/impl/store/CommonIdentityStoreTest.java
===================================================================
--- idm/trunk/picketlink-idm-core/src/test/java/org/picketlink/idm/impl/store/CommonIdentityStoreTest.java	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-core/src/test/java/org/picketlink/idm/impl/store/CommonIdentityStoreTest.java	2010-03-04 19:31:05 UTC (rev 167)
@@ -119,10 +119,10 @@
       testContext.flush();
 
       IdentityObject xx = testContext.getStore().findIdentityObject(testContext.getCtx(), "Adam", IdentityTypeEnum.USER);
-      assertEquals(xx.getId(), user1.getId());
+      assertEquals(xx.getId().toLowerCase(), user1.getId().toLowerCase());
 
       xx = testContext.getStore().findIdentityObject(testContext.getCtx(), user2.getId());
-      assertEquals(xx.getId(), user2.getId());
+      assertEquals(xx.getId().toLowerCase(), user2.getId().toLowerCase());
 
       Collection results = testContext.getStore().findIdentityObject(testContext.getCtx(), IdentityTypeEnum.USER, null);
       assertEquals(2, results.size());

Modified: idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-docs/ReferenceGuide/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../../parent</relativePath>
    </parent>
 

Modified: idm/trunk/picketlink-idm-docs/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-docs/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-docs/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
 <parent>
    <groupId>org.picketlink.idm</groupId>
    <artifactId>picketlink-idm-parent</artifactId>
-   <version>1.1.0.Beta7</version>
+   <version>1.1.0.Beta8</version>
    <relativePath>../parent</relativePath>
 </parent>
 

Modified: idm/trunk/picketlink-idm-hibernate/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-hibernate/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-hibernate/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-ldap/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-ldap/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-ldap/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-spi/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-spi/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-spi/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/picketlink-idm-testsuite/pom.xml
===================================================================
--- idm/trunk/picketlink-idm-testsuite/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/picketlink-idm-testsuite/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -2,7 +2,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

Modified: idm/trunk/pom.xml
===================================================================
--- idm/trunk/pom.xml	2010-03-04 16:32:15 UTC (rev 166)
+++ idm/trunk/pom.xml	2010-03-04 19:31:05 UTC (rev 167)
@@ -3,7 +3,7 @@
    <parent>
       <groupId>org.picketlink.idm</groupId>
       <artifactId>picketlink-idm-parent</artifactId>
-      <version>1.1.0.Beta7</version>
+      <version>1.1.0.Beta8</version>
       <relativePath>parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>




More information about the jboss-cvs-commits mailing list