This commit is contained in:
@@ -6,7 +6,6 @@ import org.springframework.security.oauth2.jwt.Jwt;
|
||||
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class CallerIdResolver {
|
||||
|
||||
public CallerId get() throws IllegalAccessException {
|
||||
|
||||
@@ -43,4 +43,9 @@ public class KeycloakAutoConfiguration {
|
||||
return new RequiredRoleFilter(props);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public CallerIdResolver callerIdResolver() {
|
||||
return new CallerIdResolver();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user