Skip to content

RSocket test should throw AccessDeniedException #8154

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

Closed
eleftherias opened this issue Mar 19, 2020 · 0 comments
Closed

RSocket test should throw AccessDeniedException #8154

eleftherias opened this issue Mar 19, 2020 · 0 comments
Assignees
Labels
in: build An issue in the build status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@eleftherias
Copy link
Contributor

The test retrieveFluxWhenDataFluxAndSecureThenDenied throws a MessageDeliveryException because it makes a request to a route that does not exist ("secure.secure.retrieve-flux").
It should instead throw an AccessDeniedException when calling a route that exists, but does not have adequate permissions to access.

@eleftherias eleftherias added in: build An issue in the build type: bug A general bug labels Mar 19, 2020
@eleftherias eleftherias added this to the 5.4.0.M1 milestone Mar 19, 2020
@eleftherias eleftherias self-assigned this Mar 19, 2020
eleftherias added a commit that referenced this issue Mar 19, 2020
Request route that exists; add additional error message verification

Fixes gh-8154
@spring-projects-issues spring-projects-issues added the status: backported An issue that has been backported to maintenance branches label Mar 19, 2020
eleftherias added a commit that referenced this issue Mar 20, 2020
Request route that exists; add additional error message verification

Fixes gh-8154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: build An issue in the build status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants