Commit Graph

166 Commits

Author SHA1 Message Date
Gurunathan a4cd6f4278
Advise Overriding equals() and hashCode() in UserDetails Implementations
This commit adds a documentation note explaining the importance of
overriding equals() and hashCode() in custom UserDetails implementations.

The default SessionRegistryImpl in Spring Security uses an in-memory
ConcurrentMap<Object, Set<String>>, Map<String,SessionInformation> to
associate principals with sessions. If a custom UserDetails class does
not properly override equals() and hashCode(), user sessions may not
be tracked or matched correctly.

I believe this helps developers avoid subtle session management issues
when implementing custom authentication logic.

Signed-off-by: Gurunathan <129361658+Gurunathan16@users.noreply.github.com>
2025-05-21 12:41:44 -06:00
Tran Ngoc Nhan 505fe3abed
Correct method name
Closes gh-17031

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-05-06 10:17:29 -05:00
Josh Cummings 51239359ed
Fix ClearSiteData Code Snippet
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled Details
CI / Build (17, ubuntu-latest) (push) Has been cancelled Details
CI / Build (17, windows-latest) (push) Has been cancelled Details
CI / Test Against Snapshots (17, 17) (push) Has been cancelled Details
CI / Test Against Snapshots (21-ea, 21) (push) Has been cancelled Details
CI / Check Samples (push) Has been cancelled Details
Deploy Docs / build (push) Has been cancelled Details
CI / Deploy Artifacts (push) Has been cancelled Details
CI / Deploy Docs (push) Has been cancelled Details
CI / Deploy Schema (push) Has been cancelled Details
CI / Perform Release (push) Has been cancelled Details
CI / Send Notification (push) Has been cancelled Details
Closes gh-16948
2025-05-02 15:57:31 -06:00
Soumik Sarker bcef6ed74f Reformatted lines in x509 overview documentation
CI / Build (17, ubuntu-latest) (push) Waiting to run Details
CI / Build (17, windows-latest) (push) Waiting to run Details
CI / Test Against Snapshots (17, 17) (push) Waiting to run Details
CI / Test Against Snapshots (21-ea, 21) (push) Waiting to run Details
CI / Check Samples (push) Waiting to run Details
CI / Deploy Artifacts (push) Blocked by required conditions Details
CI / Deploy Docs (push) Blocked by required conditions Details
CI / Deploy Schema (push) Blocked by required conditions Details
CI / Perform Release (push) Blocked by required conditions Details
CI / Send Notification (push) Blocked by required conditions Details
Deploy Docs / build (push) Waiting to run Details
Trigger Dependabot Auto Merge Forward / Trigger Workflow (push) Has been cancelled Details
Signed-off-by: Soumik Sarker <ronodhirsoumik@gmail.com>
2025-05-01 12:02:45 -06:00
Josh Cummings 1414b88ef3
Merge branch '6.2.x' into 6.3.x 2024-11-18 12:13:05 -07:00
Josh Cummings ba520db7f7
Merge branch '5.8.x' into 6.2.x 2024-11-18 12:12:46 -07:00
Josh Cummings 85248083c0
Add Dark Mode CSS Style
Closes gh-14834
2024-11-18 12:10:48 -07:00
ImHyuk 4ac092c803 Update logout.adoc: Fix Customizing Logout Success Example 2024-10-23 10:16:09 -07:00
Steve Riesenberg a939c100fc
Merge branch '6.2.x' into 6.3.x
Closes gh-15808
2024-09-13 16:08:33 -05:00
Steve Riesenberg 1782f17e7f
Merge branch '5.8.x' into 6.2.x
Closes gh-15807
2024-09-13 16:08:04 -05:00
Steve Riesenberg 0a4eb0f09a
Update credential erasure examples
Closes gh-15683
2024-09-13 16:07:47 -05:00
Marcus Hert Da Coregio 113e72f18e Merge branch '6.2.x' into 6.3.x
Closes gh-15321
2024-06-28 15:34:14 -03:00
Marcus Hert Da Coregio 462ce1ee91 Merge branch '5.8.x' into 6.2.x
Closes gh-15320
2024-06-28 15:33:59 -03:00
Marcus Hert Da Coregio 779030b6cd Document the role of CredentialsContainer
Closes gh-15319
2024-06-28 15:33:34 -03:00
Steve Riesenberg 5c0f1730d6
Merge branch '6.2.x' into 6.3.x
Closes gh-15245
2024-06-13 16:02:51 -05:00
Steve Riesenberg e41771491b
Merge branch '5.8.x' into 6.2.x
Closes gh-15244
2024-06-13 16:02:05 -05:00
Steve Riesenberg f622d8e2e2
Polish gh-15235 2024-06-13 16:00:03 -05:00
Harsh4902 92cab2b678
Add 'Required Dependencies' section in ldap.adoc file
Closes gh-14699
2024-06-13 16:00:02 -05:00
Josh Cummings 1c6726d20a
Merge branch '6.2.x' into 6.3.x
Closes gh-15167
2024-05-24 15:06:34 -06:00
Josh Cummings 797550fee7
Merge branch '5.8.x' into 6.2.x
Closes gh-15166
2024-05-24 15:04:04 -06:00
Josh Cummings e7ea4091a0
Migrate SampleLDIF to UnboundID
Closes gh-15089
2024-05-24 15:03:53 -06:00
Marcus Hert Da Coregio 0acf6cca6e Merge branch '6.2.x'
Closes gh-15149
2024-05-23 14:05:06 -03:00
Marcus Hert Da Coregio 47ad405063 Merge branch '5.8.x' into 6.2.x
Closes gh-15148
2024-05-23 14:04:35 -03:00
Marcus Hert Da Coregio c7b739eb3f Fix broken link to jaspan article
Closes gh-14358
2024-05-23 14:04:10 -03:00
vvaadd 0a6e50d892 Minor code fix 2024-05-15 13:36:54 -03:00
Marcus Hert Da Coregio 08f11f06ab Revert unnecessary commits from main
Issue gh-15016
2024-05-08 13:49:18 -03:00
Josh Cummings 4ef1e41d29
Merge branch '6.2.x' 2024-02-05 11:35:42 -07:00
Habin Song 74d85c1e46 Typo: Update anonymous.adoc
I changed 'instancesthat' to 'instances that'
2024-02-05 11:34:38 -07:00
Habin Song 35ab9c55c4 Typo: Update rememberme.adoc
I changed 'unecessarily' to 'unnecessarily'
2024-02-05 11:33:43 -07:00
Marcus Hert Da Coregio c2dc61007f Merge branch '6.2.x' 2024-01-31 09:52:08 -03:00
Marcus Hert Da Coregio df46169e94 Merge branch '6.1.x' into 6.2.x 2024-01-31 09:51:51 -03:00
Habin Song 49f447f3d0 Update session-management.adoc
lambda expression typo. I changed '(session) - session' to '(session) -> session'
2024-01-31 09:51:00 -03:00
Habin Song fbb35a1e3d Typo: Update ldap.adoc
there is no word like 'byusing'. I fixed 'byusing' to 'by using'.
2024-01-31 09:50:51 -03:00
Marcus Hert Da Coregio a761042157 Merge branch '6.2.x' 2024-01-17 15:22:34 -03:00
Amit Mahato 237dd7799f fix: typo in Authentication Architecture ProviderManager 2024-01-17 15:22:25 -03:00
Andreas Büchel 3346f2dd73 fix typo in anonymous.adoc 2024-01-17 15:22:06 -03:00
Steve Riesenberg a32cd66179
Polish gh-14263 2023-12-26 11:56:42 -06:00
Federico Herrera 10e0f98d5e
Add doc and javadoc for CachingUserDetailsService
Close gh-10914
2023-12-26 10:57:58 -06:00
Steve Riesenberg 8cdd53f531
Polish gh-13593 2023-11-30 13:23:13 -06:00
Seongguk Jeong 54b8f3874f
Fix link in authentication/architecture.adoc
Closes gh-13577
2023-11-30 13:23:12 -06:00
Marcus Hert Da Coregio 6ab9cc6ff7 Merge branch '6.1.x' 2023-11-07 10:54:02 -03:00
Marcus Hert Da Coregio 2158d262bc Merge branch '6.0.x' into 6.1.x 2023-11-07 10:53:56 -03:00
Dong, Xue-Han fafb579a6e fix code blocks formatting mistakes. 2023-11-07 10:53:33 -03:00
Steve Riesenberg 447f40949c
Revert unnecessary merges on 6.1.x
This commit removes unnecessary main-branch merges starting from
9f8db22b77 and adds the following
needed commit(s) that were made afterward:

- 4d6ff49b9d
- ed6ff670d1
- c823b00794
- 44fad21363
2023-10-31 15:22:15 -05:00
Steve Riesenberg 9db33f33c7
Revert unnecessary merges on 6.0.x
This commit removes unnecessary main-branch merges starting from
8750608b5b and adds the following
needed commit(s) that were made afterward:

- 5dce82c48b
2023-10-31 15:11:45 -05:00
Mark Bonnekessel c823b00794 Update logout.adoc: Replace Directives with Directive 2023-10-31 09:45:12 -03:00
Steve Riesenberg bfc31bacab
Polish Username/Password Authentication page
Issue gh-11926

(cherry picked from commit 781d575921)
2023-10-25 15:50:53 -05:00
Steve Riesenberg 781d575921
Polish Username/Password Authentication page
Issue gh-11926
2023-10-25 15:47:23 -05:00
abramofranchetti ab478a13bc
Clarify Effects Disabling CSRF Has On Logout
Issue gh-13062
2023-10-16 14:47:28 -06:00
Steve Riesenberg 82e11ccb25
Merge branch '6.1.x'
Closes gh-14016
2023-10-13 18:18:05 -05:00