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

Fixes for EE10AppEngineAuthentication #246

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

lachlan-roberts
Copy link
Collaborator

@lachlan-roberts lachlan-roberts commented Jul 9, 2024

When the DevAppEngineWebAppContext calls securityHandler.setConstraintMappings(mappings) to disable Constraint.Transport.SECURE in security constraints, it adjusts the known roles in the SecurityHandler. This PR ensures the known roles are preserved.

Also fixed some issues with the EE10AppEngineAuthentication. For example it was not completing the callback on redirect.

@lachlan-roberts lachlan-roberts requested review from gregw and ludoch July 9, 2024 05:04
@lachlan-roberts lachlan-roberts changed the title Fix known roles in the DevAppEngineWebAppContext for EE10 Fixes for EE10AppEngineAuthentication Jul 9, 2024
@copybara-service copybara-service bot merged commit 0d9c94d into main Jul 9, 2024
9 checks passed
@copybara-service copybara-service bot deleted the EE10-DevAppServer-KnownRoles branch July 9, 2024 07:16
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
…ownRoles

PiperOrigin-RevId: 650514293
Change-Id: I2d7bcea4fb39b8ee6aad674de95092af0ce01c81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants