GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Issue #241 - fix deferred authentication for Java21 EE10 runtime by lachlan-roberts · Pull Request #243 · GoogleCloudPlatform/appengine-java-standard

Conversation

@lachlan-roberts

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

Copy link
Copy Markdown
Collaborator

closes #241

If request.getUserPrincipal() was being called on a request with deferred authentication, then authentication was failing.

This is because the isDeferred check in EE10AppEngineAuthentication was in the wrong place.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lachlan-roberts
Issue #241 - fix deferred authentication for Java21 EE10 runtime
7dce20b
Signed-off-by: Lachlan Roberts <[email protected]>
@lachlan-roberts
lachlan-roberts requested review from gregw and ludoch July 3, 2024 10:48
@lachlan-roberts lachlan-roberts mentioned this pull request Jul 3, 2024
Java 21 regression bug: in a .jsp, request.getUserPrincipal() returns null despite being logged in #241
Closed
ludoch
ludoch approved these changes Jul 3, 2024
View reviewed changes
@ludoch ludoch added the ready to pull label Jul 3, 2024
@copybara-service
copybara-service Bot merged commit 6ee9c31 into main Jul 3, 2024
@copybara-service
copybara-service Bot deleted the deferredAuthentication branch July 3, 2024 15:51
@ludoch

ludoch commented Jul 3, 2024

Copy link
Copy Markdown
Contributor

Code fix is now checked in.
Will reach prod end of next week or next (due to 4rth of July break in US).
Meanwhile, you can try following for the next few days https://github.com/GoogleCloudPlatform/appengine-java-standard/blob/main/TRYLATESTBITSINPROD.md from head (Sorry, Maven only, gradle contribution welcome).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
@gae-java-bot
Merge pull request #243 from GoogleCloudPlatform:deferredAuthentication
ccb9142
PiperOrigin-RevId: 649089202
Change-Id: I4a8d4c9b0c0787dba3f88209ad9eed238d3feb57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gregw gregw Awaiting requested review from gregw
1 more reviewer
@ludoch ludoch ludoch approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

ready to pull

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Java 21 regression bug: in a .jsp, request.getUserPrincipal() returns null despite being logged in

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lachlan-roberts @ludoch
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.