|
|
@ -4,6 +4,7 @@ import java.io.UnsupportedEncodingException;
|
|
|
|
import java.net.URLDecoder;
|
|
|
|
import java.net.URLDecoder;
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
@ -14,7 +15,7 @@ import org.gcube.com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
|
public class GcubeJwt {
|
|
|
|
public class GcubeJwt {
|
|
|
|
|
|
|
|
|
|
|
|
protected final static List<String> MINIMAL_ROLES = List.of("Member");
|
|
|
|
protected final static List<String> MINIMAL_ROLES = Arrays.asList("Member");
|
|
|
|
|
|
|
|
|
|
|
|
@JsonProperty("aud")
|
|
|
|
@JsonProperty("aud")
|
|
|
|
private String context;
|
|
|
|
private String context;
|
|
|
|