Skip to content

Fixes for AppEngineAuthentication in EE10#76

Merged
copybara-service[bot] merged 3 commits intomainfrom
ee10-appengineAuthentication
Nov 8, 2023
Merged

Fixes for AppEngineAuthentication in EE10#76
copybara-service[bot] merged 3 commits intomainfrom
ee10-appengineAuthentication

Conversation

@lachlan-roberts
Copy link
Copy Markdown
Collaborator

This change fixes the JavaRuntimeAllInOneTest for EE10

Returning null from validateRequest() to get deferred authentication is not the right thing to do because it only works if authentication is not mandatory.

We should instead override ConstraintSecurityHandler.getConstraint and Authenticator.getConstraintAuthentication to allow the request bypass the authentication constraints.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts changed the title Ee10 appengine authentication Fixes for AppEngineAuthentication in EE10 Nov 8, 2023
@copybara-service copybara-service bot merged commit 4225f88 into main Nov 8, 2023
@lachlan-roberts lachlan-roberts deleted the ee10-appengineAuthentication branch January 11, 2024 01:26
srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
…ication

PiperOrigin-RevId: 580551860
Change-Id: I5917bddb7cfa2af0a89ee868350cbd8273dcd754
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.

2 participants