Skip to content
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

Add a stateless session police management #18

Open
TheRustifyer opened this issue Dec 24, 2024 · 0 comments
Open

Add a stateless session police management #18

TheRustifyer opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
enhancement Improvements to an existing feature or functionality (e.g., UI, performance, etc) security

Comments

@TheRustifyer
Copy link
Member

Explanation

  • SessionCreationPolicy.STATELESS: This ensures that no session is created or used for storing authentication details. Every request must include the necessary authentication information (e.g., a JWT).
  • Security Context Repository: We’re already using a custom SecurityContextRepository. This works seamlessly with stateless configurations, as the security context will not rely on server-side sessions.

This approach ensures the application is stateless and eliminates any unnecessary session-related behavior.

@TheRustifyer TheRustifyer added enhancement Improvements to an existing feature or functionality (e.g., UI, performance, etc) security labels Dec 24, 2024
@TheRustifyer TheRustifyer self-assigned this Dec 24, 2024
@TheRustifyer TheRustifyer moved this to In Progress in Summoners Sync Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to an existing feature or functionality (e.g., UI, performance, etc) security
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant