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

ElytronCallerDetailsResolver.getPrincipalsByType does not include subtypes #25

Closed
roeltje25 opened this issue May 26, 2023 · 3 comments
Closed

Comments

@roeltje25
Copy link

Hi,

There is a bug in ElytronCallerDetailsResolver on line 47. Because the isAssignableFrom call is inverted subtypes are not considered as valid principals. This is wrong I think. For example, we have AppUsers and AppAdminUsers as principals and in fact AppAdminUsers are also AppUsers. However the resolver will discard any AppAdminUsers requested by getPrincipalsByType(AppUser.class).

Could you fix this? In fact it makes wildfly 28 break all our apps.

regards,

Roel

@fjuma
Copy link
Contributor

fjuma commented May 29, 2023

Hi @roeltje25,

Would you be able to create a bug report for this here:
https://issues.redhat.com/projects/ELYEE

Thanks very much,
Farah

@roeltje25
Copy link
Author

@darranl
Copy link
Contributor

darranl commented May 30, 2023

Closing as moved to Jira

@darranl darranl closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants