Closed mljohns89 closed 7 months ago
Right, so apparently setting authenticationSource
to SpringSecurityAuthenticationSource
is not really needed, since there won't be any credentials initially stored in the security context.
Thanks again, Michael! Please update Para to 1.49.5
, which was just published.
Yup exactly
On Mon, Apr 8, 2024, 4:39 AM Alex Bogdanovski @.***> wrote:
Right, so apparently setting authenticationSource to SpringSecurityAuthenticationSource is not really needed, since there won't be any credentials initially stored in the security context.
— Reply to this email directly, view it on GitHub https://github.com/Erudika/para/pull/266#issuecomment-2042184200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO5DKG4OCNHBH3BPDEKX73Y4JJUJAVCNFSM6AAAAABF3SGMBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGE4DIMRQGA . You are receiving this because you authored the thread.Message ID: @.***>
Have you read the docs first?
OK, describe you changes: @albogdano 1000 apologies.
When you call
contextSource.afterPropertiesSet()
, it will not have any affect unless thecontextSource.authenticationSource
isnull
. I've removed the line that initializes theauthenticationSource
to the emptySpringSecurityAuthenticationSource()
Tests? Tested this via debugging and set the
authenticationSource
tonull
manually. LDAP Login worked correctly