Moved out logger from the interface to specify specific local context
This commit is contained in:
parent
8a7f4d98f0
commit
bcd8377117
|
@ -15,10 +15,14 @@ import org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint;
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.gcube.resources.discovery.client.api.DiscoveryClient;
|
import org.gcube.resources.discovery.client.api.DiscoveryClient;
|
||||||
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
|
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public class DefaultKeycloakClientLegacyIS extends DefaultKeycloakClient implements KeycloakClientLegacyIS {
|
public class DefaultKeycloakClientLegacyIS extends DefaultKeycloakClient implements KeycloakClientLegacyIS {
|
||||||
|
|
||||||
|
protected static Logger logger = LoggerFactory.getLogger(DefaultKeycloakClientLegacyIS.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public URL findTokenEndpointURL() throws KeycloakClientException {
|
public URL findTokenEndpointURL() throws KeycloakClientException {
|
||||||
logger.debug("Checking ScopeProvider's scope presence and format");
|
logger.debug("Checking ScopeProvider's scope presence and format");
|
||||||
|
|
|
@ -14,7 +14,6 @@ public interface KeycloakClientLegacyIS extends KeycloakClient {
|
||||||
String NAME = "IAM";
|
String NAME = "IAM";
|
||||||
String DESCRIPTION = "oidc-token endpoint";
|
String DESCRIPTION = "oidc-token endpoint";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the keycloak <code>token</code> endpoint {@link URL} discovering it in the current scope provided by {@link ScopeProvider}
|
* Finds the keycloak <code>token</code> endpoint {@link URL} discovering it in the current scope provided by {@link ScopeProvider}
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue