Skip to content

saml2Login should provide an AuthenticatedPrincipal (integrate with a UserService) #7465

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

Closed
fhanik opened this issue Sep 20, 2019 · 1 comment
Assignees
Labels
in: saml2 An issue in SAML2 modules status: duplicate A duplicate of another issue

Comments

@fhanik
Copy link
Contributor

fhanik commented Sep 20, 2019

Similar as oauth2Login() loads user from OAuth2UserService interface. SAML attributes need to be retrieved as well.

@fhanik fhanik added in: saml2 An issue in SAML2 modules status: waiting-for-triage An issue we've not yet triaged labels Sep 20, 2019
@rwinch rwinch added this to the 5.3.x milestone Sep 23, 2019
herrminni pushed a commit to herrminni/spring-security that referenced this issue Oct 20, 2019
Added support for authenticating a SAML user by UserDetailsService.
This enhances the AuthenticationProvider by adding UserDetail metadata
to the principal and also set authorities like roles.

Closes spring-projectsgh-7465
herrminni pushed a commit to herrminni/spring-security that referenced this issue Oct 20, 2019
Added support for authenticating a SAML user by UserDetailsService.
This enhances the AuthenticationProvider by adding UserDetail metadata
to the principal and also set authorities like roles.

Closes spring-projectsgh-7465
@jzheaux
Copy link
Contributor

jzheaux commented Aug 19, 2020

Closing this issue as a duplicate since #8010 heavily overlaps and most of the conversation about this feature appears over there.

@jzheaux jzheaux closed this as completed Aug 19, 2020
@jzheaux jzheaux self-assigned this Aug 19, 2020
@jzheaux jzheaux added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 19, 2020
@jzheaux jzheaux removed this from the 5.3.x milestone Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules status: duplicate A duplicate of another issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants