-
Notifications
You must be signed in to change notification settings - Fork 7
Spring Security Bonus Module #54
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
Open
brclark
wants to merge
19
commits into
LaunchCodeEducation:main
Choose a base branch
from
brclark:spring-security-dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
dc243f0
Add new section to Authentication on User Owned Data
brclark 7204f6e
Add section for DTOs & Services to Authentication
brclark 490198c
Move PasswordEncoder to a new configuration and refactor User
brclark 31e8cdc
Add text description for EventService and EventCategoryService
brclark 7bf6a31
Add missing methods in UserService description
brclark 7f0373c
Add text walkthrough for User Roles & Privileges
brclark cad1240
Add InitialDataLoader description to User Roles & Privileges
brclark f365c41
Move User Roles & Privileges walkthrough to Authentication Next Steps
brclark 2e5304d
Add SecurityService to User Roles & Privileges
brclark a1c049e
Add Spring Security 6 instruction set for Authentication Bonus
brclark 3ff0e31
Add Role Based Access instructions
brclark 1688ff5
Fixes part 1 - going throuh the User Owned Data section
brclark 31af88b
Edit the add-service-dto section with some updates from review
brclark 18a3484
Fixes from user-roles-privileges proofread
brclark d8280a1
Spring Security fixes from proofread
brclark 4561a4a
Add fixes from peer review
brclark 6425520
Updates from testing and tutorial making
brclark 11c3dd6
Clean up intro to bonus module, Tag instructions, and code fixes
brclark 01748af
Remove mentions of video lessons from spring security bonus module
brclark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| title: "BONUS: User Roles & Spring Security" | ||
| date: 2023-11-14T09:28:27-05:00 | ||
| draft: false | ||
| weight: 1 | ||
| originalAuthor: Ben Clark # to be set by page creator | ||
| originalAuthorGitHub: brclark # to be set by page creator | ||
| reviewer: # to be set by the page reviewer | ||
| reviewerGitHub: # to be set by the page reviewer | ||
| lastEditor: # update any time edits are made after review | ||
| lastEditorGitHub: # update any time edits are made after review | ||
| lastMod: # UPDATE ANY TIME CHANGES ARE MADE | ||
| --- | ||
|
|
||
| This section contains 5 lessons to build out the **authentication** | ||
| and **authorization** features in Coding Events. The video shows the | ||
| final features added as a result of the lessons. You will add user-owned | ||
| data, refactored controllers to make use of services, refactored | ||
| authentication and authorization using Spring Security framework, | ||
| and roles & privileges to restrict access to the Coding Events based | ||
| on assigned user roles. | ||
|
|
||
| ### TODO: Add Embedded Intro video | ||
|
|
||
| {{% children %}} | ||
Oops, something went wrong.
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.
I think including the preview video that I made might be useful here, to show students what they will be building by the end of the walkthrough