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
Refactor authentication code #2027
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8823d19
Begin refactoring authentication code
zaralouis-sf ad591ea
Refactoring auth code
zaralouis-sf 4e9da49
formatting fixes
zaralouis-sf 9df693a
fix security module
zaralouis-sf a715e11
Fix broken browser test
zaralouis-sf 8b5a51b
Try to fix injection
zaralouis-sf 093bae1
Removing unnecessary annotations
zaralouis-sf 475b102
Change bound client type
zaralouis-sf cd7161c
Revrese changes
zaralouis-sf 393fb42
Fix one line
zaralouis-sf d1e2446
Add nullable annotation
zaralouis-sf d7ea60b
Default config options
zaralouis-sf 9ab3473
universal-application-tool-0.0.1/app/controllers/LoginController.java
zaralouis-sf 57d1901
Formatting
zaralouis-sf 5c6b52a
Add null checks
zaralouis-sf faf128c
Responding to PR comments
zaralouis-sf 9a6c4b1
Responding to PR comments
zaralouis-sf 478cdb5
Respond to more PR comments
zaralouis-sf f3457f9
Re add comment
zaralouis-sf 704187b
Responding to more PR comments
zaralouis-sf 10e68e1
Add legacy routes handler
zaralouis-sf 34ff231
Update LegacyRoutesController
zaralouis-sf File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the request be used in the body? I see it's dropped here. Is the intent to always redirect to the new handler rather than handle the old route through new refactored flow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand correctly, I think the
redirect
method used automatically passes in the request context. Here's the docs on it: https://www.playframework.com/documentation/2.8.x/JavaRouting#Reverse-routingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes Shubha that was my understanding as well! Thanks for the docs! I can add them as a comment if you think it would be helpful Shane?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! thanks yall!