Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit: ClassCastException when OAuth is enabled #79

Closed
Haarolean opened this issue Jan 31, 2024 · 1 comment · Fixed by #91
Closed

Audit: ClassCastException when OAuth is enabled #79

Haarolean opened this issue Jan 31, 2024 · 1 comment · Fixed by #91
Assignees
Labels
area/audit scope/backend Related to backend changes status/triage/completed Automatic triage completed type/bug Something isn't working
Milestone

Comments

@Haarolean
Copy link
Member

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)

@kapybro kapybro bot added status/triage Issues pending maintainers triage status/triage/manual Manual triage in progress labels Jan 31, 2024
@kapybro kapybro bot added status/triage/completed Automatic triage completed and removed status/triage Issues pending maintainers triage labels Jan 31, 2024
@Haarolean Haarolean added the scope/backend Related to backend changes label Jan 31, 2024
@Haarolean
Copy link
Member Author

check if it's not fixed in master

@Haarolean Haarolean added type/bug Something isn't working area/rbac Related to Role Based Access Control feature area/audit and removed status/triage/manual Manual triage in progress labels Jan 31, 2024
@Haarolean Haarolean added this to the 1.0 milestone Feb 1, 2024
@Haarolean Haarolean removed the area/rbac Related to Role Based Access Control feature label Feb 1, 2024
@Haarolean Haarolean linked a pull request Feb 1, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/audit scope/backend Related to backend changes status/triage/completed Automatic triage completed type/bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant