[jboss-cvs] JBossAS SVN: r75006 - in projects/security/security-spi/tags: 2.0.2.CR6 and 9 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 24 17:24:23 EDT 2008


Author: anil.saldhana at jboss.com
Date: 2008-06-24 17:24:23 -0400 (Tue, 24 Jun 2008)
New Revision: 75006

Added:
   projects/security/security-spi/tags/2.0.2.CR6/
   projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java
   projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java
   projects/security/security-spi/tags/2.0.2.CR6/spi/src/tests/org/jboss/test/security/securitycontext/SecurityContextAssociationUnitTestCase.java
Removed:
   projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml
   projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java
   projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java
Log:
[maven-release-plugin]  copy for tag 2.0.2.CR6

Copied: projects/security/security-spi/tags/2.0.2.CR6 (from rev 74840, projects/security/security-spi/trunk)

Deleted: projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml
===================================================================
--- projects/security/security-spi/trunk/acl/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,69 +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.security</groupId>
-      <artifactId>jboss-security-spi-parent</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>../parent</relativePath>
-   </parent>
-   <modelVersion>4.0.0</modelVersion>
-   <artifactId>acl-spi</artifactId>
-   <packaging>jar</packaging>
-   <name>JBoss Security Access Control List SPI</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR3</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR3</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR3</url>
-    </scm>
-    <build>
-      <sourceDirectory>${basedir}/src/main</sourceDirectory>
-      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
-      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
-      <finalName>${artifactId}</finalName>
-      <outputDirectory>${basedir}/target/classes</outputDirectory> 
-      <resources>
-        <resource>
-          <directory>${basedir}</directory>
-          <includes>
-           <include>JBossORG-EULA.txt</include>
-          </includes>
-        </resource>
-      </resources>
-   </build>
-   <dependencies>
-     <dependency>
-        <groupId>org.jboss.security</groupId>
-        <artifactId>identity-spi</artifactId>
-     </dependency>
-     <dependency>
-        <groupId>org.jboss.security</groupId>
-        <artifactId>authorization-spi</artifactId>
-     </dependency>
-  </dependencies>
-   <reporting>
- <plugins>
-   <plugin>
-     <groupId>org.apache.maven.plugins</groupId>
-     <artifactId>maven-surefire-report-plugin</artifactId>
-   </plugin>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-       <artifactId>maven-javadoc-plugin</artifactId>
-       <configuration>
-         <aggregate>true</aggregate>
-       </configuration>
-      </plugin>
-    </plugins>
-  </reporting> 
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml (from rev 75005, projects/security/security-spi/trunk/acl/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/acl/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,69 @@
+<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.security</groupId>
+      <artifactId>jboss-security-spi-parent</artifactId>
+      <version>2.0.2.CR6</version>
+      <relativePath>../parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>acl-spi</artifactId>
+   <packaging>jar</packaging>
+   <name>JBoss Security Access Control List SPI</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR6</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR6</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR6</url>
+    </scm>
+    <build>
+      <sourceDirectory>${basedir}/src/main</sourceDirectory>
+      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
+      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
+      <finalName>${artifactId}</finalName>
+      <outputDirectory>${basedir}/target/classes</outputDirectory> 
+      <resources>
+        <resource>
+          <directory>${basedir}</directory>
+          <includes>
+           <include>JBossORG-EULA.txt</include>
+          </includes>
+        </resource>
+      </resources>
+   </build>
+   <dependencies>
+     <dependency>
+        <groupId>org.jboss.security</groupId>
+        <artifactId>identity-spi</artifactId>
+     </dependency>
+     <dependency>
+        <groupId>org.jboss.security</groupId>
+        <artifactId>authorization-spi</artifactId>
+     </dependency>
+  </dependencies>
+   <reporting>
+ <plugins>
+   <plugin>
+     <groupId>org.apache.maven.plugins</groupId>
+     <artifactId>maven-surefire-report-plugin</artifactId>
+   </plugin>
+    <plugin>
+      <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-javadoc-plugin</artifactId>
+       <configuration>
+         <aggregate>true</aggregate>
+       </configuration>
+      </plugin>
+    </plugins>
+  </reporting> 
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml
===================================================================
--- projects/security/security-spi/trunk/assembly/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,63 +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.security</groupId>
-    <artifactId>jboss-security-spi-parent</artifactId>
-    <version>2.0.2-SNAPSHOT</version>
-    <relativePath>../parent</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.jboss.security</groupId>
-  <artifactId>jboss-security-spi</artifactId>
-  <packaging>pom</packaging>
-  <name>JBoss Security SPI - Assembly</name>
-  <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-  <description>JBoss Security is a cross cutting project that handles security 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>
-    
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.1</version>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>attached</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <archive>
-            <manifestEntries>
-              <Specification-Title>JBoss Security Implementation for the JBAS</Specification-Title>
-              <Specification-Version>${project.version}</Specification-Version>
-              <Specification-Vendor>Red Hat Middleware LLC</Specification-Vendor>
-              <Implementation-Title>JBoss Security Implementation for the JBAS</Implementation-Title>
-              <Implementation-Version>${project.version}</Implementation-Version>
-              <Implementation-VendorId>org.jboss.security</Implementation-VendorId>
-              <Implementation-Vendor>Red Hat Middleware LLC</Implementation-Vendor>
-              <Implementation-URL>http://labs.jboss.org/portal/jbosssecurity/</Implementation-URL>
-            </manifestEntries>
-          </archive>
-          <descriptors>
-            <descriptor>bin.xml</descriptor>
-            <descriptor>sources.xml</descriptor>
-          </descriptors>
-        </configuration>
-        <inherited>false</inherited>
-      </plugin>
-    </plugins>
-  </build>
-  
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml (from rev 75005, projects/security/security-spi/trunk/assembly/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/assembly/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,63 @@
+<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.security</groupId>
+    <artifactId>jboss-security-spi-parent</artifactId>
+    <version>2.0.2.CR6</version>
+    <relativePath>../parent</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.security</groupId>
+  <artifactId>jboss-security-spi</artifactId>
+  <packaging>pom</packaging>
+  <name>JBoss Security SPI - Assembly</name>
+  <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+  <description>JBoss Security is a cross cutting project that handles security 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>
+    
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>attached</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>JBoss Security Implementation for the JBAS</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>Red Hat Middleware LLC</Specification-Vendor>
+              <Implementation-Title>JBoss Security Implementation for the JBAS</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-VendorId>org.jboss.security</Implementation-VendorId>
+              <Implementation-Vendor>Red Hat Middleware LLC</Implementation-Vendor>
+              <Implementation-URL>http://labs.jboss.org/portal/jbosssecurity/</Implementation-URL>
+            </manifestEntries>
+          </archive>
+          <descriptors>
+            <descriptor>bin.xml</descriptor>
+            <descriptor>sources.xml</descriptor>
+          </descriptors>
+        </configuration>
+        <inherited>false</inherited>
+      </plugin>
+    </plugins>
+  </build>
+  
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml
===================================================================
--- projects/security/security-spi/trunk/authorization/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,70 +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.security</groupId>
-      <artifactId>jboss-security-spi-parent</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>../parent</relativePath>
-   </parent>
-   <modelVersion>4.0.0</modelVersion>
-   <artifactId>authorization-spi</artifactId>
-   <packaging>jar</packaging>
-   <name>JBoss Security Authorization SPI</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR3</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR3</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR3</url>
-    </scm>
-    <build>
-      <sourceDirectory>${basedir}/src/main</sourceDirectory>
-      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
-      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
-      <finalName>${artifactId}</finalName>
-      <outputDirectory>${basedir}/target/classes</outputDirectory> 
-      <resources>
-        <resource>
-          <directory>${basedir}</directory>
-          <includes>
-           <include>JBossORG-EULA.txt</include>
-          </includes>
-        </resource>
-       </resources>
-   </build>
-   <dependencies>
-     <dependency>
-        <groupId>org.jboss.security</groupId>
-        <artifactId>identity-spi</artifactId>
-     </dependency>
-     <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <scope>test</scope>
-     </dependency>
-  </dependencies>
-   <reporting>
-    <plugins>
-     <plugin>
-       <groupId>org.apache.maven.plugins</groupId>
-       <artifactId>maven-surefire-report-plugin</artifactId>
-     </plugin>
-     <plugin>
-       <groupId>org.apache.maven.plugins</groupId>
-       <artifactId>maven-javadoc-plugin</artifactId>
-       <configuration>
-         <aggregate>true</aggregate>
-       </configuration>
-     </plugin>
-    </plugins>
-   </reporting>
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml (from rev 75005, projects/security/security-spi/trunk/authorization/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/authorization/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,70 @@
+<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.security</groupId>
+      <artifactId>jboss-security-spi-parent</artifactId>
+      <version>2.0.2.CR6</version>
+      <relativePath>../parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>authorization-spi</artifactId>
+   <packaging>jar</packaging>
+   <name>JBoss Security Authorization SPI</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR6</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR6</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR6</url>
+    </scm>
+    <build>
+      <sourceDirectory>${basedir}/src/main</sourceDirectory>
+      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
+      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
+      <finalName>${artifactId}</finalName>
+      <outputDirectory>${basedir}/target/classes</outputDirectory> 
+      <resources>
+        <resource>
+          <directory>${basedir}</directory>
+          <includes>
+           <include>JBossORG-EULA.txt</include>
+          </includes>
+        </resource>
+       </resources>
+   </build>
+   <dependencies>
+     <dependency>
+        <groupId>org.jboss.security</groupId>
+        <artifactId>identity-spi</artifactId>
+     </dependency>
+     <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <scope>test</scope>
+     </dependency>
+  </dependencies>
+   <reporting>
+    <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-surefire-report-plugin</artifactId>
+     </plugin>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-javadoc-plugin</artifactId>
+       <configuration>
+         <aggregate>true</aggregate>
+       </configuration>
+     </plugin>
+    </plugins>
+   </reporting>
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml
===================================================================
--- projects/security/security-spi/trunk/identity/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,59 +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.security</groupId>
-      <artifactId>jboss-security-spi-parent</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>../parent</relativePath>
-   </parent>
-   <modelVersion>4.0.0</modelVersion>
-   <artifactId>identity-spi</artifactId>
-   <packaging>jar</packaging>
-   <name>JBoss Security Identity SPI</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR3</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR3</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR3</url>
-    </scm>
-    <build>
-      <sourceDirectory>${basedir}/src/main</sourceDirectory>
-      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
-      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
-      <finalName>${artifactId}</finalName>
-      <outputDirectory>${basedir}/target/classes</outputDirectory> 
-      <resources>
-        <resource>
-          <directory>${basedir}</directory>
-          <includes>
-           <include>JBossORG-EULA.txt</include>
-          </includes>
-        </resource>
-      </resources>
-   </build>
-   <reporting>
- <plugins>
-   <plugin>
-     <groupId>org.apache.maven.plugins</groupId>
-     <artifactId>maven-surefire-report-plugin</artifactId>
-   </plugin>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-       <artifactId>maven-javadoc-plugin</artifactId>
-       <configuration>
-         <aggregate>true</aggregate>
-       </configuration>
-      </plugin>
-    </plugins>
-  </reporting> 
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml (from rev 75005, projects/security/security-spi/trunk/identity/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/identity/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,59 @@
+<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.security</groupId>
+      <artifactId>jboss-security-spi-parent</artifactId>
+      <version>2.0.2.CR6</version>
+      <relativePath>../parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>identity-spi</artifactId>
+   <packaging>jar</packaging>
+   <name>JBoss Security Identity SPI</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR6</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR6</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR6</url>
+    </scm>
+    <build>
+      <sourceDirectory>${basedir}/src/main</sourceDirectory>
+      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
+      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
+      <finalName>${artifactId}</finalName>
+      <outputDirectory>${basedir}/target/classes</outputDirectory> 
+      <resources>
+        <resource>
+          <directory>${basedir}</directory>
+          <includes>
+           <include>JBossORG-EULA.txt</include>
+          </includes>
+        </resource>
+      </resources>
+   </build>
+   <reporting>
+ <plugins>
+   <plugin>
+     <groupId>org.apache.maven.plugins</groupId>
+     <artifactId>maven-surefire-report-plugin</artifactId>
+   </plugin>
+    <plugin>
+      <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-javadoc-plugin</artifactId>
+       <configuration>
+         <aggregate>true</aggregate>
+       </configuration>
+      </plugin>
+    </plugins>
+  </reporting> 
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml
===================================================================
--- projects/security/security-spi/trunk/parent/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,117 +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.jboss.security</groupId>
-   <artifactId>jboss-security-spi-parent</artifactId>
-   <packaging>pom</packaging>
-   <version>2.0.2-SNAPSHOT</version>
-   <name>JBoss Security SPI - Parent</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/trunk</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/trunk</developerConnection>
-   </scm>
-  
-   <build>
-     <plugins>
-        <plugin>
-          <artifactId>maven-release-plugin</artifactId>
-          <configuration>
-            <tagBase>https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags</tagBase>
-          </configuration>
-        </plugin>
-     </plugins>
-     <pluginManagement>
-       <plugins>
-          <plugin>
-             <artifactId>maven-surefire-plugin</artifactId>
-             <configuration>
-               <printSummary>true</printSummary>
-               <disableXmlReport>false</disableXmlReport>
-               <testFailureIgnore>true</testFailureIgnore>
-               <includes>
-                 <include>**/**TestCase.java</include>
-               </includes>
-               <forkMode>pertest</forkMode>
-               <argLine>${surefire.jvm.args}</argLine>
-               <useFile>false</useFile>
-               <trimStackTrace>false</trimStackTrace>
-             </configuration>
-          </plugin>
-       </plugins>
-     </pluginManagement>
-   </build>
-  
-   <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>org.jboss.javaee</groupId>
-         <artifactId>jboss-jaspi-api</artifactId>
-         <version>1.0.0.CR1</version>
-         <scope>compile</scope>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.security</groupId>
-         <artifactId>identity-spi</artifactId>
-         <version>${project.version}</version>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.security</groupId>
-         <artifactId>authorization-spi</artifactId>
-         <version>${project.version}</version>
-      </dependency>
-      <dependency>
-         <groupId>javax.servlet</groupId>
-         <artifactId>servlet-api</artifactId>
-         <version>2.5</version>
-      </dependency>
-      <dependency>
-         <groupId>junit</groupId>
-         <artifactId>junit</artifactId>
-         <version>3.8.1</version>
-         <scope>test</scope>
-      </dependency>
-   </dependencies>
-  </dependencyManagement>
-
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml (from rev 75005, projects/security/security-spi/trunk/parent/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/parent/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,117 @@
+<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.jboss.security</groupId>
+   <artifactId>jboss-security-spi-parent</artifactId>
+   <packaging>pom</packaging>
+   <version>2.0.2.CR6</version>
+   <name>JBoss Security SPI - Parent</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security 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/jbossas/projects/security/security-spi/tags/2.0.2.CR6</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR6</developerConnection>
+   </scm>
+  
+   <build>
+     <plugins>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            <tagBase>https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags</tagBase>
+          </configuration>
+        </plugin>
+     </plugins>
+     <pluginManagement>
+       <plugins>
+          <plugin>
+             <artifactId>maven-surefire-plugin</artifactId>
+             <configuration>
+               <printSummary>true</printSummary>
+               <disableXmlReport>false</disableXmlReport>
+               <testFailureIgnore>true</testFailureIgnore>
+               <includes>
+                 <include>**/**TestCase.java</include>
+               </includes>
+               <forkMode>pertest</forkMode>
+               <argLine>${surefire.jvm.args}</argLine>
+               <useFile>false</useFile>
+               <trimStackTrace>false</trimStackTrace>
+             </configuration>
+          </plugin>
+       </plugins>
+     </pluginManagement>
+   </build>
+  
+   <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>org.jboss.javaee</groupId>
+         <artifactId>jboss-jaspi-api</artifactId>
+         <version>1.0.0.CR1</version>
+         <scope>compile</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>identity-spi</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>authorization-spi</artifactId>
+         <version>${project.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>javax.servlet</groupId>
+         <artifactId>servlet-api</artifactId>
+         <version>2.5</version>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <version>3.8.1</version>
+         <scope>test</scope>
+      </dependency>
+   </dependencies>
+  </dependencyManagement>
+
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/pom.xml
===================================================================
--- projects/security/security-spi/trunk/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,24 +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.security</groupId>
-      <artifactId>jboss-security-spi-parent</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>parent</relativePath>
-   </parent>
-   <modelVersion>4.0.0</modelVersion>
-   <groupId>org.jboss.security</groupId>
-   <artifactId>jboss-security-spi-pom</artifactId>
-   <packaging>pom</packaging>
-   <name>JBoss Security SPI - Aggregator</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security for the JEMS projects</description>
-
-   <modules>
-     <module>parent</module>
-     <module>identity</module>
-     <module>authorization</module>
-     <module>acl</module>
-     <module>spi</module>
-     <module>assembly</module>
-   </modules>
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/pom.xml (from rev 75005, projects/security/security-spi/trunk/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,24 @@
+<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.security</groupId>
+      <artifactId>jboss-security-spi-parent</artifactId>
+      <version>2.0.2.CR6</version>
+      <relativePath>parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.jboss.security</groupId>
+   <artifactId>jboss-security-spi-pom</artifactId>
+   <packaging>pom</packaging>
+   <name>JBoss Security SPI - Aggregator</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security for the JEMS projects</description>
+
+   <modules>
+     <module>parent</module>
+     <module>identity</module>
+     <module>authorization</module>
+     <module>acl</module>
+     <module>spi</module>
+     <module>assembly</module>
+   </modules>
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml
===================================================================
--- projects/security/security-spi/trunk/spi/pom.xml	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,67 +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.security</groupId>
-      <artifactId>jboss-security-spi-parent</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>../parent</relativePath>
-   </parent>
-   <modelVersion>4.0.0</modelVersion>
-   <artifactId>jboss-security-spi-bare</artifactId>
-   <packaging>jar</packaging>
-   <name>JBoss Security SPI</name>
-   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
-   <description>JBoss Security is a cross cutting project that handles security for the JEMS projects. The SPI Bare contains the SPI excluding the Authorization 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/jbossas/projects/security/security-spi/trunk</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/trunk</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/trunk</url>
-   </scm>
-   <build>
-      <sourceDirectory>${basedir}/src/main</sourceDirectory>
-      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
-      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
-      <finalName>${artifactId}</finalName>
-      <outputDirectory>${basedir}/target/classes</outputDirectory>
-      <resources>
-         <resource>
-            <directory>${basedir}</directory>
-            <includes>
-               <include>JBossORG-EULA.txt</include>
-            </includes>
-         </resource>
-      </resources>
-   </build>
-   <dependencies>
-      <dependency>
-         <groupId>org.jboss.javaee</groupId>
-         <artifactId>jboss-jaspi-api</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.security</groupId>
-         <artifactId>identity-spi</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.security</groupId>
-         <artifactId>authorization-spi</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>javax.servlet</groupId>
-         <artifactId>servlet-api</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>junit</groupId>
-         <artifactId>junit</artifactId>
-         <scope>test</scope>
-      </dependency>
-   </dependencies>
-</project>

Copied: projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml (from rev 75005, projects/security/security-spi/trunk/spi/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/pom.xml	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,67 @@
+<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.security</groupId>
+      <artifactId>jboss-security-spi-parent</artifactId>
+      <version>2.0.2.CR6</version>
+      <relativePath>../parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>jboss-security-spi-bare</artifactId>
+   <packaging>jar</packaging>
+   <name>JBoss Security SPI</name>
+   <url>http://labs.jboss.org/portal/jbosssecurity/</url>
+   <description>JBoss Security is a cross cutting project that handles security for the JEMS projects. The SPI Bare contains the SPI excluding the Authorization 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/jbossas/projects/security/security-spi/tags/2.0.2.CR6</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR6</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR6</url>
+   </scm>
+   <build>
+      <sourceDirectory>${basedir}/src/main</sourceDirectory>
+      <testSourceDirectory>${basedir}/src/tests</testSourceDirectory>
+      <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
+      <finalName>${artifactId}</finalName>
+      <outputDirectory>${basedir}/target/classes</outputDirectory>
+      <resources>
+         <resource>
+            <directory>${basedir}</directory>
+            <includes>
+               <include>JBossORG-EULA.txt</include>
+            </includes>
+         </resource>
+      </resources>
+   </build>
+   <dependencies>
+      <dependency>
+         <groupId>org.jboss.javaee</groupId>
+         <artifactId>jboss-jaspi-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>identity-spi</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.security</groupId>
+         <artifactId>authorization-spi</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>javax.servlet</groupId>
+         <artifactId>servlet-api</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <scope>test</scope>
+      </dependency>
+   </dependencies>
+</project>

Deleted: projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java
===================================================================
--- projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SecurityContextAssociation.java	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,95 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
-package org.jboss.security;
- 
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-
-import org.jboss.security.SecurityContext;
-
-
-/**
- *  Security Context association in a threadlocal
- *  @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
- *  @since  Dec 27, 2006 
- *  @version $Revision$
- */
-public class SecurityContextAssociation
-{
-   /**
-    * Flag to indicate whether threads that are spawned inherit the security context from parent
-    * Set this to false if you do not want inheritance. By default the context is inherited.
-    */
-   public static final String SECURITYCONTEXT_THREADLOCAL = "org.jboss.security.context.ThreadLocal";
-   
-   /**
-    * In JBoss AS4, the SecurityAssociation inheritance is managed with a different system property
-    * This flag should be private and not visible.
-    */
-   private static final String SECURITYASSOCIATION_THREADLOCAL = "org.jboss.security.SecurityAssociation.ThreadLocal";
-   
-   private static ThreadLocal<SecurityContext> securityContextLocal ;
-   
-   static
-   {
-      String saflag = getSystemProperty(SECURITYASSOCIATION_THREADLOCAL, "false");
-      String scflag = getSystemProperty(SECURITYCONTEXT_THREADLOCAL, "false");
-      
-      boolean useThreadLocal = Boolean.valueOf(saflag).booleanValue() || Boolean.valueOf(scflag).booleanValue();
-      
-      if(useThreadLocal)
-      {
-         securityContextLocal = new ThreadLocal<SecurityContext>();
-      }
-      else
-      {
-         securityContextLocal = new InheritableThreadLocal<SecurityContext>();
-      }
-   }
-   
-   public static void setSecurityContext(SecurityContext sc)
-   { 
-      securityContextLocal.set(sc);
-   }
-   
-   public static SecurityContext getSecurityContext()
-   {
-      return securityContextLocal.get();
-   } 
-   
-   public static void clearSecurityContext() 
-   {
-      securityContextLocal.set(null);
-   }
-    
-   
-   private static String getSystemProperty(final String propertyName, final String defaultString)
-   {
-      return AccessController.doPrivileged(new PrivilegedAction<String>()
-      {
-         public String run()
-         { 
-            return System.getProperty(propertyName, defaultString);
-         }
-      });
-   }
-}
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java (from rev 75001, projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SecurityContextAssociation.java)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/SecurityContextAssociation.java	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,124 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., and individual contributors as indicated
+  * by the @authors tag. See the copyright.txt in the distribution for a
+  * full listing of individual contributors.
+  *
+  * This is free software; you can redistribute it and/or modify it
+  * under the terms of the GNU Lesser General Public License as
+  * published by the Free Software Foundation; either version 2.1 of
+  * the License, or (at your option) any later version.
+  *
+  * This software is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with this software; if not, write to the Free
+  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+  */
+package org.jboss.security;
+ 
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+
+import org.jboss.security.SecurityContext;
+
+
+/**
+ *  Security Context association in a threadlocal
+ *  @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
+ *  @since  Dec 27, 2006 
+ *  @version $Revision$
+ */
+public class SecurityContextAssociation
+{
+   /**
+    * A flag that denotes whether SCA operates in a client side vm-wide mode
+    */
+   private static boolean SERVER = true;
+   
+   private static SecurityContext securityContext = null;
+   
+   /**
+    * Flag to indicate whether threads that are spawned inherit the security context from parent
+    * Set this to false if you do not want inheritance. By default the context is inherited.
+    */
+   public static final String SECURITYCONTEXT_THREADLOCAL = "org.jboss.security.context.ThreadLocal";
+   
+   /**
+    * In JBoss AS4, the SecurityAssociation inheritance is managed with a different system property
+    * This flag should be private and not visible.
+    */
+   private static final String SECURITYASSOCIATION_THREADLOCAL = "org.jboss.security.SecurityAssociation.ThreadLocal";
+   
+   private static ThreadLocal<SecurityContext> securityContextLocal ;
+   
+   static
+   {
+      String saflag = getSystemProperty(SECURITYASSOCIATION_THREADLOCAL, "false");
+      String scflag = getSystemProperty(SECURITYCONTEXT_THREADLOCAL, "false");
+      
+      boolean useThreadLocal = Boolean.valueOf(saflag).booleanValue() || Boolean.valueOf(scflag).booleanValue();
+      
+      if(useThreadLocal)
+      {
+         securityContextLocal = new ThreadLocal<SecurityContext>();
+      }
+      else
+      {
+         securityContextLocal = new InheritableThreadLocal<SecurityContext>();
+      }
+   }
+   
+   public static boolean isClient()
+   {
+      return !SERVER;
+   }
+   
+   /**
+    * Set the VM-wide client side usage
+    */
+   public static void setClient()
+   {
+     SERVER = false;
+   }
+   
+   public static void setSecurityContext(SecurityContext sc)
+   { 
+      if(!SERVER)
+         securityContext = sc;
+      else
+         securityContextLocal.set(sc);
+   }
+   
+   public static SecurityContext getSecurityContext()
+   {
+      if(!SERVER)
+         return securityContext;
+      
+      return securityContextLocal.get();
+   } 
+   
+   public static void clearSecurityContext() 
+   {
+      if(!SERVER)
+         securityContext = null;
+      else
+         securityContextLocal.set(null);
+   }
+    
+   
+   private static String getSystemProperty(final String propertyName, final String defaultString)
+   {
+      return AccessController.doPrivileged(new PrivilegedAction<String>()
+      {
+         public String run()
+         { 
+            return System.getProperty(propertyName, defaultString);
+         }
+      });
+   }
+}
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java
===================================================================
--- projects/security/security-spi/trunk/spi/src/main/org/jboss/security/client/SecurityClient.java	2008-06-19 15:36:29 UTC (rev 74840)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java	2008-06-24 21:24:23 UTC (rev 75006)
@@ -1,138 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
-package org.jboss.security.client;
- 
-import javax.security.auth.callback.CallbackHandler;
-import javax.security.auth.login.LoginException;
-
-//$Id$
-
-/**
- *  Generic Security Client class <br/>
- *  <b>Basic Users:</b><br/>
- *  <p>Basic users will just use the methods that set the username and credential 
- *  @see {@link #setUserName(String)} and @see {@link #setCredential(Object)} </p>
- *  <b>Intermediate Users:</b></br/>
- *  <p>You can specify usage of JAAS as the framework in the client implementation.
- *  In this case, you will @see {@link #setLoginConfigName(String)} and
- *  @see #setCallbackHandler(CallbackHandler)</p>
- *  <b>Advanced Users:</b>
- *  <p>You will use the @see {@link #setSASLMechanism(String)} method</p>
- *  
- *  @author Anil.Saldhana at redhat.com
- *  @since  May 1, 2007 
- *  @version $Revision$
- */
-public abstract class SecurityClient
-{   
-   protected Object userPrincipal = null; 
-   protected Object credential = null;
-   protected CallbackHandler callbackHandler = null;
-   protected String loginConfigName = null;
-   protected String saslMechanism = null;
-   protected String saslAuthorizationId = null;
-   
-   protected boolean jaasDesired = false;
-   protected boolean saslDesired = false;
-   
-   /**
-    * Login with the desired method
-    * @throws LoginException
-    */
-   public void login() throws LoginException
-   {
-      if(jaasDesired)
-         performJAASLogin();
-      else
-         if(saslDesired)
-            peformSASLLogin();
-         else
-            performSimpleLogin(); 
-   }
-   
-   /**
-    * Log Out
-    */
-   public void logout()
-   {
-      setSimple(null,null);
-      setJAAS(null,null);
-      setSASL(null,null,null);
-      clearUpDesires();
-      cleanUp();
-   }
-   
-   /**
-    * Set the user name and credential for simple login (non-jaas, non-sasl)
-    * @param username (Can be null)
-    * @param credential (Can be null)
-    */
-   public void setSimple(Object username, Object credential)
-   {
-      this.userPrincipal = username;
-      this.credential = credential;
-   }
-   
-   /**
-    * Set the JAAS Login Configuration Name and Call back handler
-    * @param configName can be null
-    * @param cbh can be null
-    */
-   public void setJAAS(String configName, CallbackHandler cbh)
-   {
-      this.loginConfigName = configName;
-      this.callbackHandler = cbh;
-      clearUpDesires();
-      this.jaasDesired = true;
-   }
-   
-   /**
-    * Set the mechanism and other parameters for SASL Client
-    * @param mechanism
-    * @param authorizationId
-    * @param cbh
-    */
-   public void setSASL(String mechanism, String authorizationId,
-         CallbackHandler cbh)
-   {
-      this.saslMechanism = mechanism;
-      this.saslAuthorizationId = authorizationId;
-      this.callbackHandler = cbh;
-      clearUpDesires();
-      this.saslDesired = true;
-   }
-   
-   protected abstract void performJAASLogin() throws LoginException;
-   protected abstract void peformSASLLogin();
-   protected abstract void performSimpleLogin();
-   
-   /**
-    * Provide an opportunity for client implementations to clean up
-    */
-   protected abstract void cleanUp();
-   
-   private void clearUpDesires()
-   {
-      jaasDesired = false;
-      saslDesired = false;  
-   } 
-}

Copied: projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java (from rev 75002, projects/security/security-spi/trunk/spi/src/main/org/jboss/security/client/SecurityClient.java)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/src/main/org/jboss/security/client/SecurityClient.java	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,164 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2007, JBoss Inc., and individual contributors as indicated
+  * by the @authors tag. See the copyright.txt in the distribution for a
+  * full listing of individual contributors.
+  *
+  * This is free software; you can redistribute it and/or modify it
+  * under the terms of the GNU Lesser General Public License as
+  * published by the Free Software Foundation; either version 2.1 of
+  * the License, or (at your option) any later version.
+  *
+  * This software is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with this software; if not, write to the Free
+  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+  */
+package org.jboss.security.client;
+ 
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.login.LoginException;
+
+import org.jboss.security.SecurityContextAssociation;
+ 
+/**
+ *  Generic Security Client class <br/>
+ *  <b>Basic Users:</b><br/>
+ *  <p>Basic users will just use the methods that set the username and credential 
+ *  @see {@link #setUserName(String)} and @see {@link #setCredential(Object)} </p>
+ *  <b>Intermediate Users:</b></br/>
+ *  <p>You can specify usage of JAAS as the framework in the client implementation.
+ *  In this case, you will @see {@link #setLoginConfigName(String)} and
+ *  @see #setCallbackHandler(CallbackHandler)</p>
+ *  <b>Advanced Users:</b>
+ *  <p>You will use the @see {@link #setSASLMechanism(String)} method</p>
+ *  
+ *  @author Anil.Saldhana at redhat.com
+ *  @since  May 1, 2007 
+ *  @version $Revision$
+ */
+public abstract class SecurityClient
+{   
+   protected Object userPrincipal = null; 
+   protected Object credential = null;
+   protected CallbackHandler callbackHandler = null;
+   protected String loginConfigName = null;
+   protected String saslMechanism = null;
+   protected String saslAuthorizationId = null;
+   
+   protected boolean jaasDesired = false;
+   protected boolean saslDesired = false;
+   
+   /**
+    * Perform a VMWide association of security context
+    */
+   protected boolean vmwideAssociation = false;
+   
+   /**
+    * Login with the desired method
+    * @throws LoginException
+    */
+   public void login() throws LoginException
+   {
+      if(jaasDesired)
+         performJAASLogin();
+      else
+         if(saslDesired)
+            peformSASLLogin();
+         else
+            performSimpleLogin(); 
+   }
+   
+   /**
+    * Log Out
+    */
+   public void logout()
+   {
+      setSimple(null,null);
+      setJAAS(null,null);
+      setSASL(null,null,null);
+      clearUpDesires();
+      cleanUp();
+   }
+   
+   /**
+    * Set the user name and credential for simple login (non-jaas, non-sasl)
+    * @param username (Can be null)
+    * @param credential (Can be null)
+    */
+   public void setSimple(Object username, Object credential)
+   {
+      this.userPrincipal = username;
+      this.credential = credential;
+   }
+   
+   /**
+    * Set the JAAS Login Configuration Name and Call back handler
+    * @param configName can be null
+    * @param cbh can be null
+    */
+   public void setJAAS(String configName, CallbackHandler cbh)
+   {
+      this.loginConfigName = configName;
+      this.callbackHandler = cbh;
+      clearUpDesires();
+      this.jaasDesired = true;
+   }
+   
+   /**
+    * Set the mechanism and other parameters for SASL Client
+    * @param mechanism
+    * @param authorizationId
+    * @param cbh
+    */
+   public void setSASL(String mechanism, String authorizationId,
+         CallbackHandler cbh)
+   {
+      this.saslMechanism = mechanism;
+      this.saslAuthorizationId = authorizationId;
+      this.callbackHandler = cbh;
+      clearUpDesires();
+      this.saslDesired = true;
+   }
+   
+   protected abstract void performJAASLogin() throws LoginException;
+   protected abstract void peformSASLLogin();
+   protected abstract void performSimpleLogin();
+   
+   /**
+    * Is the Security Context establishment vm wide?
+    * @return
+    */
+   public boolean isVmwideAssociation()
+   {
+      return vmwideAssociation;
+   }
+
+   /**
+    * Set the vm wide association of security context
+    * (Default : false)s
+    * @param vmwideAssociation
+    */
+   public void setVmwideAssociation(boolean vmwideAssociation)
+   {
+      this.vmwideAssociation = vmwideAssociation;
+      if(vmwideAssociation)
+         SecurityContextAssociation.setClient();
+   }
+
+   /**
+    * Provide an opportunity for client implementations to clean up
+    */
+   protected abstract void cleanUp();
+   
+   private void clearUpDesires()
+   {
+      jaasDesired = false;
+      saslDesired = false;  
+   } 
+}
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR6/spi/src/tests/org/jboss/test/security/securitycontext/SecurityContextAssociationUnitTestCase.java (from rev 75001, projects/security/security-spi/trunk/spi/src/tests/org/jboss/test/security/securitycontext/SecurityContextAssociationUnitTestCase.java)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR6/spi/src/tests/org/jboss/test/security/securitycontext/SecurityContextAssociationUnitTestCase.java	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR6/spi/src/tests/org/jboss/test/security/securitycontext/SecurityContextAssociationUnitTestCase.java	2008-06-24 21:24:23 UTC (rev 75006)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors. 
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.security.securitycontext;
+
+import org.jboss.security.SecurityContextAssociation;
+
+import junit.framework.TestCase;
+
+/**
+ * Unit Test the SecurityContextAssociation
+ * @author anil.saldhana at redhat.com
+ */
+public class SecurityContextAssociationUnitTestCase extends TestCase
+{
+   public void testClientSide()
+   {
+      assertFalse("SCA is not client", SecurityContextAssociation.isClient());
+      SecurityContextAssociation.setClient();
+      assertTrue("SCA is client", SecurityContextAssociation.isClient()); 
+   }
+}
\ No newline at end of file




More information about the jboss-cvs-commits mailing list