Moved out logger from the interface to specify specific local context

This commit is contained in:
Mauro Mugnaini 2022-06-10 13:49:39 +02:00
parent 8a7f4d98f0
commit bcd8377117
2 changed files with 4 additions and 1 deletions

View File

@ -15,10 +15,14 @@ import org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.resources.discovery.client.api.DiscoveryClient;
import org.gcube.resources.discovery.client.queries.api.SimpleQuery;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings("deprecation")
public class DefaultKeycloakClientLegacyIS extends DefaultKeycloakClient implements KeycloakClientLegacyIS {
protected static Logger logger = LoggerFactory.getLogger(DefaultKeycloakClientLegacyIS.class);
@Override
public URL findTokenEndpointURL() throws KeycloakClientException {
logger.debug("Checking ScopeProvider's scope presence and format");

View File

@ -14,7 +14,6 @@ public interface KeycloakClientLegacyIS extends KeycloakClient {
String NAME = "IAM";
String DESCRIPTION = "oidc-token endpoint";
/**
* Finds the keycloak <code>token</code> endpoint {@link URL} discovering it in the current scope provided by {@link ScopeProvider}
*