14 lines
527 B
Java
14 lines
527 B
Java
package com.nubisware.oidc.rest;
|
|
|
|
public class RestHelperTest {
|
|
|
|
public RestHelperTest() {
|
|
}
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
String tokenURL = "https://nubis2.int.d4science.net/auth/realms/d4science/protocol/openid-connect/token";
|
|
System.out.println(OpenIdConnectRESTHelper.queryUMAToken(tokenURL, OpenIdConnectRESTHelper.queryClientToken(
|
|
"vre-folder-manager", "4999c6d6-86fd-4f86-a3f8-30c26a95f551", tokenURL).getAsBearer(), "workspace", null));
|
|
}
|
|
}
|