-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulesstatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement
Milestone
Description
Hello Spring Security team,
Problem
When using the UsernamePasswordAuthenticationFilter
we are setting custom authentication details with AuthenticationDetailsSource
to be used further down the security chain. Unfortunately, the Saml2WebSsoAuthenticationFilter
does not populate the authentication details even though it inherits from AbstractAuthenticationProcessingFilter
which allows to define the details source.
Solution
After the Saml2AuthenticationToken
is created, populate the details. Afterwards, when creating the Saml2Authentication
within the authetication provider, just copy the details over.
dawi
Metadata
Metadata
Assignees
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulesstatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement