Audit: ClassCastException when OAuth is enabled #79
Labels
area/audit
scope/backend
Related to backend changes
status/triage/completed
Automatic triage completed
type/bug
Something isn't working
Milestone
2023-11-02 08:54:56,490 ERROR [parallel-5] r.c.p.Operators: Operator called default onErrorDropped
reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.ClassCastException: Cannot cast
org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser to
org.springframework.security.core.userdetails.UserDetails
Caused by: java.lang.ClassCastException: Cannot cast
org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser to
org.springframework.security.core.userdetails.UserDetails
at java.base/java.lang.Class.cast(Class.java:3889)
at
reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:113)
at
reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:158)
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839)
at reactor.core.publisher.MonoCacheTime.subscribeOrReturn(MonoCacheTime.java:151)
at reactor.core.publisher.Mono.subscribe(Mono.java:4480)
at reactor.core.publisher.Mono.subscribeWith(Mono.java:4561)
at reactor.core.publisher.Mono.subscribe(Mono.java:4323)
at com.provectus.kafka.ui.service.audit.AuditService.audit(AuditService.java:186)
at com.provectus.kafka.ui.controller.AbstractController.audit(AbstractController.java:30)
at
com.provectus.kafka.ui.controller.TopicsController.lambda$getTopicDetails$10(TopicsController.java:168)
The text was updated successfully, but these errors were encountered: