Skip to content
Open
Show file tree
Hide file tree
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 Oct 24, 2023
7204f6e
Add section for DTOs & Services to Authentication
brclark Oct 26, 2023
490198c
Move PasswordEncoder to a new configuration and refactor User
brclark Nov 14, 2023
31e8cdc
Add text description for EventService and EventCategoryService
brclark Nov 9, 2023
7bf6a31
Add missing methods in UserService description
brclark Nov 14, 2023
7f0373c
Add text walkthrough for User Roles & Privileges
brclark Nov 13, 2023
cad1240
Add InitialDataLoader description to User Roles & Privileges
brclark Nov 14, 2023
f365c41
Move User Roles & Privileges walkthrough to Authentication Next Steps
brclark Nov 14, 2023
2e5304d
Add SecurityService to User Roles & Privileges
brclark Nov 24, 2023
a1c049e
Add Spring Security 6 instruction set for Authentication Bonus
brclark Dec 7, 2023
3ff0e31
Add Role Based Access instructions
brclark Dec 8, 2023
1688ff5
Fixes part 1 - going throuh the User Owned Data section
brclark Dec 12, 2023
31af88b
Edit the add-service-dto section with some updates from review
brclark Dec 12, 2023
18a3484
Fixes from user-roles-privileges proofread
brclark Dec 13, 2023
d8280a1
Spring Security fixes from proofread
brclark Dec 14, 2023
4561a4a
Add fixes from peer review
brclark Dec 21, 2023
6425520
Updates from testing and tutorial making
brclark Dec 30, 2023
11c3dd6
Clean up intro to bonus module, Tag instructions, and code fixes
brclark Jan 9, 2024
01748af
Remove mentions of video lessons from spring security bonus module
brclark Jan 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions content/authentication/next-steps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ originalAuthor: John Woolbright # to be set by page creator
originalAuthorGitHub: jwoolbright23 # to be set by page creator
reviewer: Sally Steuterman # to be set by the page reviewer
reviewerGitHub: gildedgardenia # 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
lastEditor: Ben Clark # update any time edits are made after review
lastEditorGitHub: brclark # update any time edits are made after review
lastMod: # UPDATE ANY TIME CHANGES ARE MADE
---

## Additional Content

Now that you have successfully added authentication to an existing project you can further explore the topics below:

1. For a walkthrough on how to add roles and privileges to user accounts, take a look at the bonus module.
1. For a deeper dive into `spring security` you can visit the [official docs](https://spring.io/projects/spring-security).
1. View [this guide](https://spring.io/guides/gs/securing-web/) that walks through the creation of a spring MVC web application using Spring Security.
1. [Baeldung Spring Security Basic Authentication](https://www.baeldung.com/spring-security-basic-authentication) walkthrough. This will will walk through the process of basic authentication with Spring with an MVC application.
1. [Baeldung Spring Security Basic Authentication](https://www.baeldung.com/spring-security-basic-authentication) walkthrough. This will walk through the process of basic authentication with Spring with an MVC application.

{{% children style="h4" %}}
25 changes: 25 additions & 0 deletions content/authentication/next-steps/bonus-module/_index.md
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
Copy link
Author

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


{{% children %}}
Loading