2022-06-28 12:26:51 +02:00
|
|
|
package org.gcube.common.authorization.library.endpoints;
|
2016-09-22 10:44:29 +02:00
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
public class EndpointsContainer {
|
|
|
|
|
2019-02-20 16:38:59 +01:00
|
|
|
private Map<String, AuthorizationEndpoint> endpoints;
|
2016-09-22 10:44:29 +02:00
|
|
|
private String defaultInfrastructure;
|
2019-02-20 16:38:59 +01:00
|
|
|
|
|
|
|
protected EndpointsContainer(Map<String, AuthorizationEndpoint> endpoints,
|
2016-09-22 10:44:29 +02:00
|
|
|
String defaultInfrastructure) {
|
|
|
|
super();
|
|
|
|
this.endpoints = endpoints;
|
|
|
|
this.defaultInfrastructure = defaultInfrastructure;
|
|
|
|
}
|
2019-02-20 16:38:59 +01:00
|
|
|
public Map<String, AuthorizationEndpoint> getEndpoints() {
|
2016-09-22 10:44:29 +02:00
|
|
|
return endpoints;
|
|
|
|
}
|
|
|
|
public String getDefaultInfrastructure() {
|
|
|
|
return defaultInfrastructure;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|