fix: update bean init
All checks were successful
Release / release (push) Successful in 1m57s

This commit is contained in:
lucasdpt
2025-09-26 15:05:07 +02:00
parent a1cff78f0c
commit 46a618daea
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,6 @@ import org.springframework.security.oauth2.jwt.Jwt;
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken; import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@Component
public class CallerIdResolver { public class CallerIdResolver {
public CallerId get() throws IllegalAccessException { public CallerId get() throws IllegalAccessException {

View File

@@ -43,4 +43,9 @@ public class KeycloakAutoConfiguration {
return new RequiredRoleFilter(props); return new RequiredRoleFilter(props);
} }
@Bean
public CallerIdResolver callerIdResolver() {
return new CallerIdResolver();
}
} }