Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make AuthenticatedURL.injectToken method public

  • Loading branch information...
commit 7ef150d980fbae69029670b26704a3e0e0fe2014 1 parent 4d9ac52
@tucu00 tucu00 authored
View
4 CHANGES.txt
@@ -1,3 +1,7 @@
+-- Alfredo 0.1.5 release
+
+- Make AuthenticatedURL.injectToken method public
+
-- Alfredo 0.1.4 release
- Adding getType() to AuthenticationHandler and verifying token type in filter
View
2  alfredo/src/main/java/com/cloudera/alfredo/client/AuthenticatedURL.java
@@ -231,7 +231,7 @@ public HttpURLConnection openConnection(URL url, Token token) throws IOException
* @param conn connection to inject the authentication token.
* @param token authentication token to inject.
*/
- static void injectToken(HttpURLConnection conn, Token token) {
+ public static void injectToken(HttpURLConnection conn, Token token) {
String t = token.token;
if (t != null) {
if (!t.startsWith("\"")) {
Please sign in to comment.
Something went wrong with that request. Please try again.