Issue 134 add session profile scaffolding for consuming applications#159
Merged
devondragon merged 9 commits intomainfrom Feb 24, 2025
Conversation
…add auto-configuration registrar
…applications' into merge-fix-1
Refreshing issue-134 branch with latest from main
- Updated Python interpreter path in VSCode settings to version 3.13.2. - Added method security configuration to UserConfiguration class. - Expanded PUBLISH.md with instructions for creating a new release and publishing to Maven Central.
… Users. Add LoginHelperService and AuthorityService for user authentication and authority management
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Here's a detailed pull request description for this diff:
Pull Request: User Profile Extension Framework and Spring Integration Improvements
Overview
This PR introduces a comprehensive User Profile Extension Framework, enhancing the Spring User Framework to support rich, application-specific user profiles. It also improves Spring Boot integration and OAuth2 authorization handling, bringing the framework to version 3.1.0.
Major Features
User Profile Extension Framework
The most significant addition is a complete user profile extension system that allows applications to:
BaseUserProfileThe framework includes:
BaseUserProfile: JPA base entity class that links to core User entitiesUserProfileService: Interface for profile managementBaseSessionProfile: Session-scoped container for current user's profileBaseAuthenticationListener: Loads profiles on successful authenticationFull documentation is provided in the new
PROFILE.mdfile with implementation guides and examples.Spring Boot Integration Improvements
UserAutoConfigurationRegistrarto dynamically register the library's base package with Spring BootSecurity and Authentication Enhancements
AuthorityServiceto centralize authority managementLoginHelperServiceto improve code organization and reuseDocumentation Updates
PROFILE.md(399 lines)Technical Changes
Version
Updated to version 3.1.0-SNAPSHOT for this release.
Breaking Changes
None. This update is backward compatible with existing implementations.
How to Test
BaseUserProfileSee the demo application repository for complete working examples.