added CalledMethodHandler [#26707]

This commit is contained in:
Francesco Mangiacrapa 2024-05-07 12:25:13 +02:00
parent 76710be619
commit f9db29ac07
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package org.gcube.application.geoportal.service.accounting;
import org.gcube.common.authorization.library.provider.CalledMethodProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CalledMethodHandler {
private final static Logger logger = LoggerFactory.getLogger(CalledMethodHandler.class);
public static void setCalledMethod(String method) {
logger.debug("setCalledMethod as {}", method);
CalledMethodProvider.instance.set(method);
}
}