[jboss-cvs] JBossAS SVN: r73526 - in projects/security/security-spi/tags: 2.0.2.CR2 and 7 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 20 10:38:47 EDT 2008


Author: anil.saldhana at jboss.com
Date: 2008-05-20 10:38:47 -0400 (Tue, 20 May 2008)
New Revision: 73526

Added:
   projects/security/security-spi/tags/2.0.2.CR2/
   projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/spi/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java
   projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java
Removed:
   projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/spi/pom.xml
   projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java
   projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java
Log:
[maven-release-plugin]  copy for tag 2.0.2.CR2

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

Deleted: projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml
===================================================================
--- projects/security/security-spi/trunk/acl/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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>acl-spi</artifactId>
-  <version>2.0.2-SNAPSHOT</version>
-   <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-spi/trunk/</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security-spi/trunk/</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/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.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>
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml (from rev 73525, projects/security/security-spi/trunk/acl/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/acl/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</version>
+      <relativePath>../parent</relativePath>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>acl-spi</artifactId>
+  <version>2.0.2.CR2</version>
+   <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.CR2</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR2</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>
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml
===================================================================
--- projects/security/security-spi/trunk/assembly/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2/assembly/pom.xml (from rev 73525, projects/security/security-spi/trunk/assembly/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/assembly/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</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>
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml
===================================================================
--- projects/security/security-spi/trunk/authorization/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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-spi/trunk/</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security-spi/trunk/</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/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.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>
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml (from rev 73525, projects/security/security-spi/trunk/authorization/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/authorization/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</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.CR2</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR2</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>
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml
===================================================================
--- projects/security/security-spi/trunk/identity/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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-spi/trunk/</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security-spi/trunk/</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/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>
-   <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>
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml (from rev 73525, projects/security/security-spi/trunk/identity/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/identity/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</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.CR2</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR2</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>
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml
===================================================================
--- projects/security/security-spi/trunk/parent/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -1,137 +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>
-          <groupId>org.jboss.maven.plugins</groupId>
-          <artifactId>maven-jboss-deploy-plugin</artifactId>
-          <version>1.6</version>
-          <executions>
-            <execution>
-              <id>jboss-deploy</id>
-              <goals>
-                <goal>jboss-deploy</goal>
-              </goals>
-              <phase>deploy</phase>
-            </execution>
-          </executions>
-          <configuration>
-            <groupId>jboss</groupId>
-            <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
-            <removeArtifactVersion>true</removeArtifactVersion>
-          </configuration>
-          <inherited>true</inherited>
-        </plugin>  
-        <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.CR2/parent/pom.xml (from rev 73525, projects/security/security-spi/trunk/parent/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/parent/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -0,0 +1,137 @@
+<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.CR2</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.CR2</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2</developerConnection>
+   </scm>
+  
+   <build>
+     <plugins>
+        <plugin>
+          <groupId>org.jboss.maven.plugins</groupId>
+          <artifactId>maven-jboss-deploy-plugin</artifactId>
+          <version>1.6</version>
+          <executions>
+            <execution>
+              <id>jboss-deploy</id>
+              <goals>
+                <goal>jboss-deploy</goal>
+              </goals>
+              <phase>deploy</phase>
+            </execution>
+          </executions>
+          <configuration>
+            <groupId>jboss</groupId>
+            <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
+            <removeArtifactVersion>true</removeArtifactVersion>
+          </configuration>
+          <inherited>true</inherited>
+        </plugin>  
+        <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.CR2/pom.xml
===================================================================
--- projects/security/security-spi/trunk/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2/pom.xml (from rev 73525, projects/security/security-spi/trunk/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</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.CR2/spi/pom.xml
===================================================================
--- projects/security/security-spi/trunk/spi/pom.xml	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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-spi/trunk/</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security-spi/trunk/</developerConnection>
-      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/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.CR2/spi/pom.xml (from rev 73525, projects/security/security-spi/trunk/spi/pom.xml)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/spi/pom.xml	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/pom.xml	2008-05-20 14:38:47 UTC (rev 73526)
@@ -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.CR2</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.CR2</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/security/security-spi/tags/2.0.2.CR2</developerConnection>
+      <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/security/security-spi/tags/2.0.2.CR2</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.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java
===================================================================
--- projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SecurityIdentity.java	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java	2008-05-20 14:38:47 UTC (rev 73526)
@@ -1,94 +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;
-
-import java.security.Principal;
-
-import javax.security.auth.Subject;
-
-import org.jboss.security.identity.extensions.CredentialIdentity;
- 
-
-/**
- *  Represents an Identity of an agent interacting with the
- *  security service. It can be an user or a process. It
- *  consists of a subject and various run-as
- *  @author Anil.Saldhana at redhat.com
- *  @since  Apr 22, 2007 
- *  @version $Revision$
- */
-public class SecurityIdentity
-{  
-   SubjectInfo theSubjectInfo= null;
-   RunAs runAs = null;
-   RunAs callerRunAs = null;
-   
-   /**
-    * Create a SecurityIdentity Instance
-    * @param subject The SubjectInfo
-    * @param outgoingRunAs RunAs that is propagating out
-    * @param incomingRunAs RunAs that is propagating in
-    */
-   public SecurityIdentity(SubjectInfo subject, RunAs outgoingRunAs, RunAs incomingRunAs)
-   {
-      this.theSubjectInfo = subject;
-      this.runAs = outgoingRunAs;
-      this.callerRunAs = incomingRunAs;
-   }
-
-   public Principal getPrincipal()
-   {
-      if(theSubjectInfo != null)
-      {
-         CredentialIdentity identity = theSubjectInfo.getIdentity(CredentialIdentity.class);
-         if(identity != null)
-           return identity.asPrincipal();
-      }
-      return null;
-   }
-   
-   public Object getCredential()
-   {
-      if(theSubjectInfo != null)
-      {
-         CredentialIdentity identity = theSubjectInfo.getIdentity(CredentialIdentity.class);
-         if(identity != null)
-           return identity.getCredential();
-      }
-      return null;
-   }
-   
-   public Subject getSubject()
-   {
-      return theSubjectInfo != null ? theSubjectInfo.getAuthenticatedSubject() : null;
-   }
-
-   public RunAs getOutgoingRunAs()
-   {
-      return runAs;
-   }
-
-   public RunAs getIncomingRunAs()
-   {
-      return callerRunAs;
-   } 
-}
\ No newline at end of file

Copied: projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java (from rev 73501, projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SecurityIdentity.java)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SecurityIdentity.java	2008-05-20 14:38:47 UTC (rev 73526)
@@ -0,0 +1,94 @@
+/*
+  * 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;
+
+import java.security.Principal;
+
+import javax.security.auth.Subject;
+
+import org.jboss.security.identity.extensions.CredentialIdentity;
+ 
+
+/**
+ *  Represents an Identity of an agent interacting with the
+ *  security service. It can be an user or a process. It
+ *  consists of a subject and various run-as
+ *  @author Anil.Saldhana at redhat.com
+ *  @since  Apr 22, 2007 
+ *  @version $Revision$
+ */
+public class SecurityIdentity
+{  
+   SubjectInfo theSubjectInfo= null;
+   RunAs runAs = null;
+   RunAs callerRunAs = null;
+   
+   /**
+    * Create a SecurityIdentity Instance
+    * @param subject The SubjectInfo
+    * @param outgoingRunAs RunAs that is propagating out
+    * @param incomingRunAs RunAs that is propagating in
+    */
+   public SecurityIdentity(SubjectInfo subject, RunAs outgoingRunAs, RunAs incomingRunAs)
+   {
+      this.theSubjectInfo = subject;
+      this.runAs = outgoingRunAs;
+      this.callerRunAs = incomingRunAs;
+   }
+
+   public Principal getPrincipal()
+   {
+      if(theSubjectInfo != null)
+      {
+         CredentialIdentity<?> identity = theSubjectInfo.getIdentity(CredentialIdentity.class);
+         if(identity != null)
+           return identity.asPrincipal();
+      }
+      return null;
+   }
+   
+   public Object getCredential()
+   {
+      if(theSubjectInfo != null)
+      {
+         CredentialIdentity<?> identity = theSubjectInfo.getIdentity(CredentialIdentity.class);
+         if(identity != null)
+           return identity.getCredential();
+      }
+      return null;
+   }
+   
+   public Subject getSubject()
+   {
+      return theSubjectInfo != null ? theSubjectInfo.getAuthenticatedSubject() : null;
+   }
+
+   public RunAs getOutgoingRunAs()
+   {
+      return runAs;
+   }
+
+   public RunAs getIncomingRunAs()
+   {
+      return callerRunAs;
+   } 
+}
\ No newline at end of file

Deleted: projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java
===================================================================
--- projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SubjectFactory.java	2008-05-09 16:46:02 UTC (rev 73224)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java	2008-05-20 14:38:47 UTC (rev 73526)
@@ -1,46 +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;
-
-import javax.security.auth.Subject;
-
-/**
- * <p>
- * This interface represents a factory for {@code Subject}s. Implementations are responsible for creating and
- * populating a {@code Subject} object with the relevant information.
- * </p>
- * 
- * @author <a href="mailto:sguilhen at redhat.com">Stefan Guilhen</a>
- */
-public interface SubjectFactory
-{
-
-   /**
-    * <p>
-    * The {@code Subject} factory method. Implementations will construct the {@code Subject} object and insert all
-    * relevant information like credentials, roles, etc into the created object.
-    * </p>
-    * 
-    * @return a reference to the constructed {@code Subject} object.
-    */
-   public Subject createSubject();
-}

Copied: projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java (from rev 73515, projects/security/security-spi/trunk/spi/src/main/org/jboss/security/SubjectFactory.java)
===================================================================
--- projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java	                        (rev 0)
+++ projects/security/security-spi/tags/2.0.2.CR2/spi/src/main/org/jboss/security/SubjectFactory.java	2008-05-20 14:38:47 UTC (rev 73526)
@@ -0,0 +1,57 @@
+/*
+ * 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;
+
+import javax.security.auth.Subject;
+
+/**
+ * <p>
+ * This interface represents a factory for {@code Subject}s. Implementations are responsible for creating and
+ * populating a {@code Subject} object with the relevant information.
+ * </p>
+ * 
+ * @author <a href="mailto:sguilhen at redhat.com">Stefan Guilhen</a>
+ * @author Anil.Saldhana at redhat.com
+ */
+public interface SubjectFactory
+{
+
+   /**
+    * <p>
+    * The {@code Subject} factory method. 
+    * Implementations will construct the {@code Subject} object and insert all
+    * relevant information like credentials, roles, etc into the created object.
+    * 
+    * <b>Note:</b> The Security Domain of "other" is assumed
+    * </p>
+    * 
+    * @return a reference to the constructed {@code Subject} object.
+    */
+   public Subject createSubject();
+   
+   /**
+    * Create a subject given the security domain name
+    * @param securityDomain Name of the Security Domain
+    * @return
+    */
+   public Subject createSubject(String securityDomain);
+}




More information about the jboss-cvs-commits mailing list