airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r1512378 [3/5] - in /airavata/sandbox/gsissh: ./ .idea/ .idea/copyright/ .idea/scopes/ jglobus-repo/ jglobus-repo/repository/ jglobus-repo/repository/org/ jglobus-repo/repository/org/jglobus/ jglobus-repo/repository/org/jglobus/axisg/ jglob...
Date Fri, 09 Aug 2013 16:24:10 GMT
Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/gss-2.0.6-rc3-SNAPSHOT.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <artifactId>jglobus-all</artifactId>
+    <groupId>org.jglobus</groupId>
+    <version>2.0.6-rc3-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>gss</artifactId>
+  <name>GSS-API implementation for SSL with proxies</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jsse</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.0.6-rc3-SNAPSHOT/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata modelVersion="1.1.0">
+  <groupId>org.jglobus</groupId>
+  <artifactId>gss</artifactId>
+  <version>2.0.6-rc3-SNAPSHOT</version>
+  <versioning>
+    <snapshot>
+      <localCopy>true</localCopy>
+    </snapshot>
+    <lastUpdated>20130619202619</lastUpdated>
+    <snapshotVersions>
+      <snapshotVersion>
+        <classifier>sources</classifier>
+        <extension>jar</extension>
+        <value>2.0.6-rc3-SNAPSHOT</value>
+        <updated>20130619202619</updated>
+      </snapshotVersion>
+      <snapshotVersion>
+        <extension>jar</extension>
+        <value>2.0.6-rc3-SNAPSHOT</value>
+        <updated>20130619202619</updated>
+      </snapshotVersion>
+      <snapshotVersion>
+        <extension>pom</extension>
+        <value>2.0.6-rc3-SNAPSHOT</value>
+        <updated>20130619202619</updated>
+      </snapshotVersion>
+    </snapshotVersions>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Tue Jun 11 11:31:02 EDT 2013
+gss-2.1-SNAPSHOT-sources.jar>=
+gss-2.1-SNAPSHOT.pom>=
+gss-2.1-SNAPSHOT.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/gss-2.1-SNAPSHOT.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <artifactId>jglobus-all</artifactId>
+    <groupId>org.jglobus</groupId>
+    <version>2.1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>gss</artifactId>
+  <name>GSS-API implementation for SSL with proxies</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jsse</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/2.1-SNAPSHOT/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata modelVersion="1.1.0">
+  <groupId>org.jglobus</groupId>
+  <artifactId>gss</artifactId>
+  <version>2.1-SNAPSHOT</version>
+  <versioning>
+    <snapshot>
+      <localCopy>true</localCopy>
+    </snapshot>
+    <lastUpdated>20130611153102</lastUpdated>
+    <snapshotVersions>
+      <snapshotVersion>
+        <classifier>sources</classifier>
+        <extension>jar</extension>
+        <value>2.1-SNAPSHOT</value>
+        <updated>20130611153102</updated>
+      </snapshotVersion>
+      <snapshotVersion>
+        <extension>jar</extension>
+        <value>2.1-SNAPSHOT</value>
+        <updated>20130611153102</updated>
+      </snapshotVersion>
+      <snapshotVersion>
+        <extension>pom</extension>
+        <value>2.1-SNAPSHOT</value>
+        <updated>20130611153102</updated>
+      </snapshotVersion>
+    </snapshotVersions>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/gss/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>gss</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.1-SNAPSHOT</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202619</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:18 EDT 2013
+io-2.0.6-rc2.pom>=
+io-2.0.6-rc2-sources.jar>=
+io-2.0.6-rc2.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/2.0.6-rc2/io-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<parent>
+		<artifactId>jglobus-all</artifactId>
+		<groupId>org.jglobus</groupId>
+		<version>2.0.6-rc2</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>io</artifactId>
+	<name>Globus IO implementation</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>gridftp</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>gram</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+	</dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/io/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>io</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202622</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,3 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:14 EDT 2013
+jglobus-all-2.0.6-rc2.pom>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/jglobus-all-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/jglobus-all-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/jglobus-all-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/2.0.6-rc2/jglobus-all-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+	<groupId>org.jglobus</groupId>
+	<artifactId>jglobus-all</artifactId>
+	<version>2.0.6-rc2</version>
+	<modules>
+		<module>test-utils</module>
+		<module>ssl-proxies</module>
+		<module>container-test-utils</module>
+		<module>jsse</module>
+		<module>gss</module>
+		<module>gram</module>
+		<module>gridftp</module>
+		<module>ssl-proxies-tomcat</module>
+		<module>io</module>
+		<module>myproxy</module>
+		<module>axis</module>
+	</modules>
+	<name>JGlobus</name>
+	<packaging>pom</packaging>
+	<description>Java implementation of the Grid Security Infrastructure (GSI), developed by the Globus project.</description>
+	<url>https://github.com/jglobus/JGlobus</url>
+	<licenses>
+		<license>
+			<name>Apache 2</name>
+			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+	<developers>
+		<developer>
+			<id>bbockelm</id>
+			<name>Brian Bockelman</name>
+			<email>bockelman+maven@gmail.com</email>
+		</developer>
+	</developers>
+
+	<issueManagement>
+		<system>Github</system>
+		<url>https://github.com/jglobus/JGlobus/issues</url>
+	</issueManagement>
+
+	<scm>
+		<connection>scm:git:git@github.com:jglobus/JGlobus.git</connection>
+		<developerConnection>scm:git:git@github.com:jglobus/JGlobus.git</developerConnection>
+		<url>scm:git:git@github.com:jglobus/JGlobus.git</url>
+	</scm>
+
+	<!-- Sonatype repo integration -->
+	<parent>
+		<groupId>org.sonatype.oss</groupId>
+		<artifactId>oss-parent</artifactId>
+		<version>7</version>
+	</parent>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<!--<version>2.0.3</version>-->
+				<executions>
+					<execution>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<!-- See: http://jira.codehaus.org/browse/MRELEASE-579
+			     We need at least this version of the release plugin in order
+			     to have functioning git integration with branches
+			     -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-release-plugin</artifactId>
+				<version>2.2</version>
+			</plugin>
+		</plugins>
+	</build>
+	<dependencyManagement>
+		<dependencies>	
+			<dependency>
+				<groupId>axis</groupId>
+				<artifactId>axis</artifactId>
+				<version>1.4</version>
+			</dependency>
+			<dependency>
+				<groupId>axis</groupId>
+				<artifactId>axis-jaxrpc</artifactId>
+				<version>1.4</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>gss</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-httpclient</groupId>
+				<artifactId>commons-httpclient</artifactId>
+				<version>3.1</version>
+			</dependency>
+			<dependency>
+				<groupId>org.apache.httpcomponents</groupId>
+				<artifactId>httpclient</artifactId>
+				<version>4.0.1</version>
+			</dependency>
+			<dependency>
+				<groupId>javax.servlet</groupId>
+				<artifactId>servlet-api</artifactId>
+				<version>2.5</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-logging</groupId>
+				<artifactId>commons-logging</artifactId>
+				<version>1.1.1</version>
+				<scope>compile</scope>
+			</dependency>
+			<dependency>
+				<groupId>log4j</groupId>
+				<artifactId>log4j</artifactId>
+				<version>1.2.14</version>
+				<scope>compile</scope>
+			</dependency>
+			<dependency>
+				<groupId>org.bouncycastle</groupId>
+				<artifactId>bcprov-jdk16</artifactId>
+				<version>1.45</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-io</groupId>
+				<artifactId>commons-io</artifactId>
+				<version>1.4</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-codec</groupId>
+				<artifactId>commons-codec</artifactId>
+				<version>1.4</version>
+			</dependency>
+			<dependency>
+				<groupId>junit</groupId>
+				<artifactId>junit</artifactId>
+				<version>4.8.1</version>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jglobus-all/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>jglobus-all</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.1-SNAPSHOT</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202649</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:17 EDT 2013
+jsse-2.0.6-rc2.pom>=
+jsse-2.0.6-rc2.jar>=
+jsse-2.0.6-rc2-sources.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/2.0.6-rc2/jsse-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <artifactId>jglobus-all</artifactId>
+    <groupId>org.jglobus</groupId>
+    <version>2.0.6-rc2</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jsse</artifactId>
+  <name>SSL support</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>ssl-proxies</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/jsse/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>jsse</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.1-SNAPSHOT</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202702</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:18 EDT 2013
+myproxy-2.0.6-rc2.jar>=
+myproxy-2.0.6-rc2-sources.jar>=
+myproxy-2.0.6-rc2.pom>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/2.0.6-rc2/myproxy-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+	<parent>
+		<artifactId>jglobus-all</artifactId>
+		<groupId>org.jglobus</groupId>
+		<version>2.0.6-rc2</version>
+	</parent>
+
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>myproxy</artifactId>
+	<name>myproxy</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>gss</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/myproxy/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>myproxy</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202623</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:18 EDT 2013
+ssl-proxies-tomcat-2.0.6-rc2.pom>=
+ssl-proxies-tomcat-2.0.6-rc2-sources.jar>=
+ssl-proxies-tomcat-2.0.6-rc2.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/2.0.6-rc2/ssl-proxies-tomcat-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,132 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<parent>
+		<artifactId>jglobus-all</artifactId>
+		<groupId>org.jglobus</groupId>
+		<version>2.0.6-rc2</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>ssl-proxies-tomcat</artifactId>
+	<name>SSL and proxy certificate support for Tomcat</name>
+	<profiles>
+		<profile>
+			<id>tomcat7</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-patch-plugin</artifactId>
+						<version>1.1.1</version>
+						<configuration>
+							<patches>
+								<patch>jglobus-tomcat7.patch</patch>
+							</patches>
+							<strip>5</strip>
+						</configuration>
+						<executions>
+							<execution>
+								<id>patch</id>
+								<phase>process-sources</phase>
+								<goals>
+									<goal>apply</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+			<dependencies>
+				<dependency>
+					<groupId>org.apache.tomcat</groupId>
+					<artifactId>tomcat-catalina</artifactId>
+					<version>7.0.32</version>
+				</dependency>
+				<dependency>
+					<groupId>org.apache.tomcat</groupId>
+					<artifactId>tomcat-coyote</artifactId>
+					<version>7.0.32</version>
+				</dependency>
+			</dependencies>
+		</profile>
+		<profile>
+			<id>tomcat6</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<dependencies>
+				<dependency>
+					<groupId>org.apache.tomcat</groupId>
+					<artifactId>catalina</artifactId>
+					<version>6.0.24</version>
+				</dependency>
+				<dependency>
+					<groupId>org.apache.tomcat</groupId>
+					<artifactId>coyote</artifactId>
+					<version>6.0.24</version>
+				</dependency>
+			</dependencies>
+		</profile>
+		<profile>
+			<id>tomcat5</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-patch-plugin</artifactId>
+						<version>1.1.1</version>
+						<configuration>
+							<patches>
+								<patch>jglobus-tomcat5.patch</patch>
+							</patches>
+							<strip>5</strip>
+						</configuration>
+						<executions>
+							<execution>
+								<id>patch</id>
+								<phase>process-sources</phase>
+								<goals>
+									<goal>apply</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+			<dependencies>
+				<dependency>
+					<groupId>tomcat</groupId>
+					<artifactId>catalina</artifactId>
+					<version>5.5.23</version>
+				</dependency>
+				<dependency>
+					<groupId>tomcat</groupId>
+					<artifactId>tomcat-coyote</artifactId>
+					<version>5.5.23</version>
+				</dependency>
+			</dependencies>
+		</profile>
+	</profiles>
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>jsse</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>container-test-utils</artifactId>
+			<version>${project.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>test-utils</artifactId>
+			<version>${project.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies-tomcat/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>ssl-proxies-tomcat</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202622</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Fri Jun 21 15:46:09 EDT 2013
+ssl-proxies-2.0.6-rc2.jar>=
+ssl-proxies-2.0.6-rc2.pom>=
+ssl-proxies-2.0.6-rc2-sources.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/2.0.6-rc2/ssl-proxies-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<parent>
+		<artifactId>jglobus-all</artifactId>
+		<groupId>org.jglobus</groupId>
+		<version>2.0.6-rc2</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<artifactId>ssl-proxies</artifactId>
+	<name>SSL and proxy certificate support</name>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.version}</version>
+                <configuration>
+                    <failIfNoTests>false</failIfNoTests>
+                    <skipTests>${skipTests}</skipTests>
+                    <workingDirectory>${project.build.testOutputDirectory}</workingDirectory>
+                    <systemPropertyVariables>
+                        <projectDirectory>${basedir}</projectDirectory>
+                    </systemPropertyVariables>
+
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+	<dependencies>
+		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.bouncycastle</groupId>
+			<artifactId>bcprov-jdk16</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>test-utils</artifactId>
+			<version>${project.version}</version>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+
+    <properties>
+        <surefire.version>2.12</surefire.version>
+        <skipTests>false</skipTests>
+    </properties>
+
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/ssl-proxies/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>ssl-proxies</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.1-SNAPSHOT</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130621194609</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/_maven.repositories
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/_maven.repositories?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/_maven.repositories (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/_maven.repositories Fri Aug  9 16:24:07 2013
@@ -0,0 +1,5 @@
+#NOTE: This is an internal implementation file, its format can be changed without prior notice.
+#Mon Jun 10 12:27:15 EDT 2013
+test-utils-2.0.6-rc2.jar>=
+test-utils-2.0.6-rc2.pom>=
+test-utils-2.0.6-rc2-sources.jar>=

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2-sources.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2-sources.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2-sources.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.pom
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.pom?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.pom (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/2.0.6-rc2/test-utils-2.0.6-rc2.pom Fri Aug  9 16:24:07 2013
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <artifactId>jglobus-all</artifactId>
+    <groupId>org.jglobus</groupId>
+    <version>2.0.6-rc2</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>test-utils</artifactId>
+  <name>Test Utilities</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/maven-metadata-local.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/maven-metadata-local.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/maven-metadata-local.xml (added)
+++ airavata/sandbox/gsissh/jglobus-repo/repository/org/jglobus/test-utils/maven-metadata-local.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+  <groupId>org.jglobus</groupId>
+  <artifactId>test-utils</artifactId>
+  <versioning>
+    <release>2.0.6-rc2</release>
+    <versions>
+      <version>2.0.6-rc2</version>
+      <version>2.1-SNAPSHOT</version>
+      <version>2.0.6-rc3-SNAPSHOT</version>
+    </versions>
+    <lastUpdated>20130619202651</lastUpdated>
+  </versioning>
+</metadata>

Added: airavata/sandbox/gsissh/lib/ncsa-lcrypto-146.jar
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/lib/ncsa-lcrypto-146.jar?rev=1512378&view=auto
==============================================================================
Binary file - no diff available.

Propchange: airavata/sandbox/gsissh/lib/ncsa-lcrypto-146.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: airavata/sandbox/gsissh/pom.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/pom.xml?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/pom.xml (added)
+++ airavata/sandbox/gsissh/pom.xml Fri Aug  9 16:24:07 2013
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	you under the Apache License, Version 2.0 (theÏ "License"); you may not use 
+	this file except in compliance with the License. You may obtain a copy of 
+	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+	by applicable law or agreed to in writing, software distributed under the 
+	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+	OF ANY ~ KIND, either express or implied. See the License for the specific 
+	language governing permissions and limitations under the License. -->
+
+<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">
+    <!-- the version of maven's project object model -->
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.airavata</groupId>
+    <artifactId>gsissh</artifactId>
+    <name>Airavata GSISSH</name>
+    <version>0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <prerequisites>
+        <maven>3.0</maven>
+    </prerequisites>
+
+    <!--parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>13</version>
+        <relativePath/>
+    </parent-->
+
+    <repositories>
+        <repository>
+            <id>my-local-repo</id>
+            <url>file:./jglobus-repo/repository</url>
+        </repository>
+        <repository>
+            <name>ogce.m2.all</name>
+            <id>ogce.m2.all</id>
+            <url>http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all</url>
+        </repository>
+    </repositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.50</version>
+        </dependency>
+        <dependency>
+            <groupId>org.jglobus</groupId>
+            <artifactId>myproxy</artifactId>
+            <version>${jglobus.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.jglobus</groupId>
+            <artifactId>gss</artifactId>
+            <version>${jglobus.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.17</version>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+        </dependency>
+    </dependencies>
+
+
+    <properties>
+        <jglobus.version>2.0.6-rc2</jglobus.version>
+        <surefire.version>2.12</surefire.version>
+        <junit.version>4.7</junit.version>
+        <skipTests>false</skipTests>
+    </properties>
+</project>
+

Added: airavata/sandbox/gsissh/src/main/java/SSHProvider.java
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/src/main/java/SSHProvider.java?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/src/main/java/SSHProvider.java (added)
+++ airavata/sandbox/gsissh/src/main/java/SSHProvider.java Fri Aug  9 16:24:07 2013
@@ -0,0 +1,234 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+/**
+ * User: AmilaJ (amilaj@apache.org)
+ * Date: 8/6/13
+ * Time: 1:08 PM
+ */
+
+
+
+/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
+/**
+ * This program will demonstrate remote exec.
+ *  $ CLASSPATH=.:../build javac Exec.java
+ *  $ CLASSPATH=.:../build java Exec
+ * You will be asked username, hostname, displayname, passwd and command.
+ * If everything works fine, given command will be invoked
+ * on the remote side and outputs will be printed out.
+ *
+ */
+
+import com.jcraft.jsch.*;
+
+import javax.swing.*;
+import java.awt.*;
+import java.io.InputStream;
+
+public class SSHProvider {
+
+    static {
+        JSch.setConfig("gssapi-with-mic.x509", "org.apache.airavata.gsi.ssh.GSSContextX509");
+        JSch.setConfig("userauth.gssapi-with-mic", "com.jcraft.jsch.UserAuthGSSAPIWithMICGSSCredentials");
+        System.setProperty("X509_CERT_DIR",
+                "/Users/thejaka/development/apache/airavata/sandbox/grid-tools/certificates");
+    }
+
+    public static void main(String[] arg) {
+        try {
+
+            JSch jsch = new JSch();
+
+            String host;
+            int port = 22;
+
+            String inputString = JOptionPane.showInputDialog("Enter username@hostname:port",
+                        "ogce@trestles.sdsc.edu");
+            String user = inputString.substring(0, inputString.indexOf('@'));
+
+            if (inputString.contains(":")) {
+                host = inputString.substring(inputString.indexOf('@') + 1, inputString.indexOf(':'));
+                String strPort = inputString.substring(inputString.indexOf(':') + 1);
+                port = Integer.parseInt(strPort);
+
+            } else {
+                host = inputString.substring(inputString.indexOf('@') + 1);
+            }
+
+            Session session = jsch.getSession(user, host, port);
+
+            java.util.Properties config = new java.util.Properties();
+            config.put("StrictHostKeyChecking", "no");
+            session.setConfig(config);
+
+            session.connect();
+
+            String command = JOptionPane.showInputDialog("Enter command",
+                    "echo \"Hello World\"");
+
+            Channel channel = session.openChannel("exec");
+            ((ChannelExec) channel).setCommand(command);
+
+            // X Forwarding
+            // channel.setXForwarding(true);
+
+            //channel.setInputStream(System.in);
+            channel.setInputStream(null);
+
+            //channel.setOutputStream(System.out);
+
+            //FileOutputStream fos=new FileOutputStream("/tmp/stderr");
+            //((ChannelExec)channel).setErrStream(fos);
+            ((ChannelExec) channel).setErrStream(System.err);
+
+            InputStream in = channel.getInputStream();
+
+            channel.connect();
+
+            byte[] tmp = new byte[1024];
+            while (true) {
+                while (in.available() > 0) {
+                    int i = in.read(tmp, 0, 1024);
+                    if (i < 0) break;
+                    System.out.print(new String(tmp, 0, i));
+                }
+                if (channel.isClosed()) {
+                    System.out.println("exit-status: " + channel.getExitStatus());
+                    break;
+                }
+                try {
+                    Thread.sleep(1000);
+                } catch (Exception ignored) {
+                }
+            }
+            channel.disconnect();
+            session.disconnect();
+        } catch (Exception e) {
+            e.printStackTrace();
+            System.out.println(e);
+        }
+    }
+
+    public static class MyUserInfo implements UserInfo, UIKeyboardInteractive {
+        public String getPassword() {
+            return passwd;
+        }
+
+        public boolean promptYesNo(String str) {
+            Object[] options = {"yes", "no"};
+            int foo = JOptionPane.showOptionDialog(null,
+                    str,
+                    "Warning",
+                    JOptionPane.DEFAULT_OPTION,
+                    JOptionPane.WARNING_MESSAGE,
+                    null, options, options[0]);
+            return foo == 0;
+        }
+
+        String passwd;
+        JTextField passwordField = (JTextField) new JPasswordField(20);
+
+        public String getPassphrase() {
+            return null;
+        }
+
+        public boolean promptPassphrase(String message) {
+            return true;
+        }
+
+        public boolean promptPassword(String message) {
+            Object[] ob = {passwordField};
+            int result =
+                    JOptionPane.showConfirmDialog(null, ob, message,
+                            JOptionPane.OK_CANCEL_OPTION);
+            if (result == JOptionPane.OK_OPTION) {
+                passwd = passwordField.getText();
+                return true;
+            } else {
+                return false;
+            }
+        }
+
+        public void showMessage(String message) {
+            JOptionPane.showMessageDialog(null, message);
+        }
+
+        final GridBagConstraints gbc =
+                new GridBagConstraints(0, 0, 1, 1, 1, 1,
+                        GridBagConstraints.NORTHWEST,
+                        GridBagConstraints.NONE,
+                        new Insets(0, 0, 0, 0), 0, 0);
+        private Container panel;
+
+        public String[] promptKeyboardInteractive(String destination,
+                                                  String name,
+                                                  String instruction,
+                                                  String[] prompt,
+                                                  boolean[] echo) {
+            panel = new JPanel();
+            panel.setLayout(new GridBagLayout());
+
+            gbc.weightx = 1.0;
+            gbc.gridwidth = GridBagConstraints.REMAINDER;
+            gbc.gridx = 0;
+            panel.add(new JLabel(instruction), gbc);
+            gbc.gridy++;
+
+            gbc.gridwidth = GridBagConstraints.RELATIVE;
+
+            JTextField[] texts = new JTextField[prompt.length];
+            for (int i = 0; i < prompt.length; i++) {
+                gbc.fill = GridBagConstraints.NONE;
+                gbc.gridx = 0;
+                gbc.weightx = 1;
+                panel.add(new JLabel(prompt[i]), gbc);
+
+                gbc.gridx = 1;
+                gbc.fill = GridBagConstraints.HORIZONTAL;
+                gbc.weighty = 1;
+                if (echo[i]) {
+                    texts[i] = new JTextField(20);
+                } else {
+                    texts[i] = new JPasswordField(20);
+                }
+                panel.add(texts[i], gbc);
+                gbc.gridy++;
+            }
+
+            if (JOptionPane.showConfirmDialog(null, panel,
+                    destination + ": " + name,
+                    JOptionPane.OK_CANCEL_OPTION,
+                    JOptionPane.QUESTION_MESSAGE)
+                    == JOptionPane.OK_OPTION) {
+                String[] response = new String[prompt.length];
+                for (int i = 0; i < prompt.length; i++) {
+                    response[i] = texts[i].getText();
+                }
+                return response;
+            } else {
+                return null;  // cancel
+            }
+        }
+    }
+
+
+}

Added: airavata/sandbox/gsissh/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java
URL: http://svn.apache.org/viewvc/airavata/sandbox/gsissh/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java?rev=1512378&view=auto
==============================================================================
--- airavata/sandbox/gsissh/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java (added)
+++ airavata/sandbox/gsissh/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java Fri Aug  9 16:24:07 2013
@@ -0,0 +1,271 @@
+package com.jcraft.jsch;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.globus.gsi.gssapi.GSSConstants;
+import org.ietf.jgss.GSSException;
+import org.ietf.jgss.Oid;
+
+/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
+/*
+ * Copyright(c)2004,2005,2006 ymnk, JCraft,Inc. All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer. 2. Redistributions in
+ * binary form must reproduce the above copyright notice, this list of
+ * conditions and the following disclaimer in the documentation and/or other
+ * materials provided with the distribution. 3. The names of the authors may not
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND
+ * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, INC. OR ANY CONTRIBUTORS TO THIS
+ * SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ * OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION)HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE)ARISING
+ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/**
+ * This class now supports two mappings to the gssapi-with-mic method: x509
+ * (preferred) and krb5.
+ *
+ * @author Al Rossi
+ * @author Jeff Overbey
+ */
+public class UserAuthGSSAPIWithMICGSSCredentials extends UserAuth {
+
+    private static final int SSH_MSG_USERAUTH_GSSAPI_RESPONSE = 60;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_TOKEN = 61;
+    // private static final int SSH_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE = 63;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_ERROR = 64;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_ERRTOK = 65;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_MIC = 66;
+
+    // this is the preferred order
+    private static String[] supportedMethods = { "gssapi-with-mic.x509",
+            "gssapi-with-mic.krb5" };
+    private static byte[][] supportedOids;
+
+    static {
+        try {
+            supportedOids = new byte[][] {
+                    GSSConstants.MECH_OID.getDER(),
+                    new Oid("1.2.840.113554.1.2.2").getDER() };
+        } catch (GSSException gsse) {
+            gsse.printStackTrace();
+        }
+    }
+
+    @Override
+    public boolean start(Session session) throws Exception {
+        // this.userinfo = userinfo;
+        Packet packet = session.packet;
+        Buffer buf = session.buf;
+        final String username = session.username;
+        byte[] _username = Util.str2byte(username);
+
+        // checkForSupportedOIDs
+        List methods = new ArrayList();
+        boolean found = false;
+        for (int i = 0; i < supportedOids.length; i++) {
+            found = found
+                    || checkForSupportedOIDs(methods, packet, buf, i,
+                    _username, session);
+        }
+
+        if (!found)
+            return false;
+
+        // logger.debug( "supported methods " + methods );
+
+        boolean success = false;
+        for (Iterator it = methods.iterator(); it.hasNext();) {
+            String method = (String) it.next();
+            success = tryMethod(username, _username, method, session, packet,
+                    buf);
+            if (success)
+                break;
+        }
+        return success;
+
+    }
+
+    private boolean checkForSupportedOIDs(List methods, Packet packet,
+                                          Buffer buf, int index, byte[] _username, Session session)
+            throws Exception {
+        packet.reset();
+
+        // byte SSH_MSG_USERAUTH_REQUEST(50)
+        // string user name(in ISO-10646 UTF-8 encoding)
+        // string service name(in US-ASCII)
+        // string "gssapi"(US-ASCII)
+        // uint32 n, the number of OIDs client supports
+        // string[n] mechanism OIDS
+        buf.putByte((byte) SSH_MSG_USERAUTH_REQUEST);
+        buf.putString(_username);
+        buf.putString("ssh-connection".getBytes());
+        buf.putString("gssapi-with-mic".getBytes());
+        buf.putInt(1);
+        buf.putString(supportedOids[index]);
+        session.write(packet);
+
+        while (true) {
+            buf = session.read(buf);
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+                return false;
+            }
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_RESPONSE) {
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                byte[] message = buf.getString();
+                // logger.debug( "OID " + supportedOids[index] );
+                if (Util.array_equals(message, supportedOids[index])) {
+                    methods.add(supportedMethods[index]);
+                    // logger.debug( "OID MATCH, method is " + methods );
+                    return true;
+                }
+            }
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_BANNER) {
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                byte[] _message = buf.getString();
+                buf.getString();
+                String message = Util.byte2str(_message);
+                if (userinfo != null) {
+                    userinfo.showMessage(message);
+                }
+                continue;
+            }
+            return false;
+        }
+    }
+
+    private boolean tryMethod(String username, byte[] _username, String method,
+                              Session session, Packet packet, Buffer buf) throws Exception {
+        GSSContext context = null;
+        try {
+            Class c = Class.forName(session.getConfig(method));
+            context = (GSSContext) (c.newInstance());
+            // logger.debug( "GOT CONTEXT: " + context );
+        } catch (Exception e) {
+            // logger.error( "could not instantiate GSSContext", e );
+            return false;
+        }
+
+        // FIXME
+        // if ( userinfo instanceof IX509UserInfo ) {
+        // if ( context instanceof GSSContextX509 ) {
+        // GSSCredential credential = ( ( IX509UserInfo )userinfo
+        // ).getCredential();
+        // logger.debug( "user info credential = " + credential );
+        // ( ( GSSContextX509 )context ).setCredential( credential );
+        // }
+        // }
+
+        try {
+            context.create(username, session.host);
+        } catch (JSchException e) {
+            // logger.error( "context creation failed", e );
+            return false;
+        }
+
+        byte[] token = new byte[0];
+
+        while (!context.isEstablished()) {
+            try {
+                token = context.init(token, 0, token.length);
+            } catch (JSchException e) {
+                // logger.error( "context initialization failed", e );
+                // TODO
+                // ERRTOK should be sent?
+                // byte SSH_MSG_USERAUTH_GSSAPI_ERRTOK
+                // string error token
+                return false;
+            }
+
+            if (token != null) {
+                packet.reset();
+                buf.putByte((byte) SSH_MSG_USERAUTH_GSSAPI_TOKEN);
+                buf.putString(token);
+                session.write(packet);
+            }
+
+            if (!context.isEstablished()) {
+                buf = session.read(buf);
+
+                if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_ERROR) {
+                    // uint32 major_status
+                    // uint32 minor_status
+                    // string message
+                    // string language tag
+                    buf = session.read(buf);
+                } else if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_ERRTOK) {
+                    buf = session.read(buf);
+                }
+
+                if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+                    return false;
+                }
+
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                token = buf.getString();
+            }
+        }
+
+        Buffer mbuf = new Buffer();
+        // string session identifier
+        // byte SSH_MSG_USERAUTH_REQUEST
+        // string user name
+        // string service
+        // string "gssapi-with-mic"
+        mbuf.putString(session.getSessionId());
+        mbuf.putByte((byte) SSH_MSG_USERAUTH_REQUEST);
+        mbuf.putString(_username);
+        mbuf.putString("ssh-connection".getBytes());
+        mbuf.putString("gssapi-with-mic".getBytes());
+
+        byte[] mic = context.getMIC(mbuf.buffer, 0, mbuf.getLength());
+
+        if (mic == null) { // there was an error in the getMIC call
+            return false;
+        }
+
+        packet.reset();
+        buf.putByte((byte) SSH_MSG_USERAUTH_GSSAPI_MIC);
+        buf.putString(mic);
+        session.write(packet);
+
+        context.dispose();
+
+        buf = session.read(buf);
+        if (buf.buffer[5] == SSH_MSG_USERAUTH_SUCCESS) {
+            return true;
+        }
+        if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+            buf.getInt();
+            buf.getByte();
+            buf.getByte();
+            byte[] foo = buf.getString();
+            int partial_success = buf.getByte();
+            if (partial_success != 0) {
+                throw new JSchPartialAuthException(new String(foo));
+            }
+        }
+        return false;
+    }
+}
+



Mime
View raw message