You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2016/07/28 04:06:52 UTC
[1/2] incubator-guacamole-client git commit: GUACAMOLE-66: Remove
Apache Commons Codec dependency.
Repository: incubator-guacamole-client
Updated Branches:
refs/heads/master 139cca986 -> 0ec42d2b1
GUACAMOLE-66: Remove Apache Commons Codec dependency.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/01c51f99
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/01c51f99
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/01c51f99
Branch: refs/heads/master
Commit: 01c51f99986475879803b9209294c1d928e2d916
Parents: 139cca9
Author: James Muehlner <ja...@guac-dev.org>
Authored: Wed Jul 27 20:58:47 2016 -0700
Committer: James Muehlner <ja...@guac-dev.org>
Committed: Wed Jul 27 20:58:47 2016 -0700
----------------------------------------------------------------------
guacamole/pom.xml | 7 -------
.../guacamole/rest/auth/SecureRandomAuthTokenGenerator.java | 4 ++--
2 files changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/01c51f99/guacamole/pom.xml
----------------------------------------------------------------------
diff --git a/guacamole/pom.xml b/guacamole/pom.xml
index c0b6b3b..2d78ddf 100644
--- a/guacamole/pom.xml
+++ b/guacamole/pom.xml
@@ -324,13 +324,6 @@
<version>1.0</version>
</dependency>
- <!-- Apache commons codec library -->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.4</version>
- </dependency>
-
<!-- Jackson for JSON support -->
<dependency>
<groupId>com.sun.jersey</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/01c51f99/guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java
----------------------------------------------------------------------
diff --git a/guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java b/guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java
index 9e6435c..dc94b44 100644
--- a/guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java
+++ b/guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java
@@ -20,7 +20,7 @@
package org.apache.guacamole.rest.auth;
import java.security.SecureRandom;
-import org.apache.commons.codec.binary.Hex;
+import javax.xml.bind.DatatypeConverter;
/**
* An implementation of the AuthTokenGenerator based around SecureRandom.
@@ -39,7 +39,7 @@ public class SecureRandomAuthTokenGenerator implements AuthTokenGenerator {
byte[] bytes = new byte[32];
secureRandom.nextBytes(bytes);
- return Hex.encodeHexString(bytes);
+ return DatatypeConverter.printHexBinary(bytes);
}
}
[2/2] incubator-guacamole-client git commit: GUACAMOLE-66: Merge
removal of unnecessary dependency.
Posted by mj...@apache.org.
GUACAMOLE-66: Merge removal of unnecessary dependency.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/0ec42d2b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/0ec42d2b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/0ec42d2b
Branch: refs/heads/master
Commit: 0ec42d2b1dfbc11c4bfa943fb4043fab04218070
Parents: 139cca9 01c51f9
Author: Michael Jumper <mj...@apache.org>
Authored: Wed Jul 27 21:05:24 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Wed Jul 27 21:05:24 2016 -0700
----------------------------------------------------------------------
guacamole/pom.xml | 7 -------
.../guacamole/rest/auth/SecureRandomAuthTokenGenerator.java | 4 ++--
2 files changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------