git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/authorization-common-client@131249 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8fd89e4942
commit
8564f62cf2
|
@ -164,8 +164,6 @@ public class DefaultAuthorizationProxy implements AuthorizationProxy {
|
|||
|
||||
StringBuilder callUrl = new StringBuilder(getInternalEnpoint(infrastructureHash)).append(methodPath);
|
||||
|
||||
System.out.println(callUrl);
|
||||
|
||||
URL url = new URL(callUrl.toString());
|
||||
HttpURLConnection connection = makeRequest(url, "GET", true);
|
||||
connection.setDoInput(true);
|
||||
|
@ -186,7 +184,7 @@ public class DefaultAuthorizationProxy implements AuthorizationProxy {
|
|||
String infrastructure = context.split("/")[1];
|
||||
return infrastructure.hashCode();
|
||||
}catch(Exception e){
|
||||
throw new RuntimeException("invalid contex");
|
||||
throw new RuntimeException("invalid context");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue