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

Infinite loop with mapped roles #9731

Closed
janbartel opened this issue May 4, 2023 · 1 comment
Closed

Infinite loop with mapped roles #9731

janbartel opened this issue May 4, 2023 · 1 comment
Assignees
Labels
Bug For general bugs on Jetty side TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)

Comments

@janbartel
Copy link
Contributor

jetty-12

If a user has a role mapping such as "VP": "VP", then there is an infinite loop in UserIdentityScope when checking if a user is in that role.

@janbartel janbartel added Bug For general bugs on Jetty side TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc) labels May 4, 2023
@janbartel janbartel self-assigned this May 4, 2023
janbartel added a commit that referenced this issue May 4, 2023
janbartel added a commit that referenced this issue May 5, 2023
* Issue #9731 infinite loop in role refs

* Update jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/UserIdentityScope.java

Co-authored-by: Greg Wilkins <[email protected]>

---------

Co-authored-by: Greg Wilkins <[email protected]>
@janbartel
Copy link
Contributor Author

Fixed via #9732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)
Projects
None yet
Development

No branches or pull requests

1 participant