Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Nov 4, 2023
1 parent 4a15d00 commit c834983
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken;
Expand All @@ -30,12 +29,12 @@ public class HttpInterceptor implements HandlerInterceptor {
private static final ThreadLocal<String> tenantId = new ThreadLocal<>();
private static final ThreadLocal<String> userName = new ThreadLocal<>();

/*
private static Boolean isAuthenticationEnabled;
@Value("${security.authentication.enabled}") void setAuthenticationEnabled(Boolean authenticationEnabled) {
isAuthenticationEnabled = authenticationEnabled;
}


*/

@Configuration
static class Configurer implements WebMvcConfigurer {
Expand Down

0 comments on commit c834983

Please sign in to comment.