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

How to retrieve the user principal ? #71

Open
sebastien-savalle opened this issue Mar 18, 2020 · 2 comments · May be fixed by #169
Open

How to retrieve the user principal ? #71

sebastien-savalle opened this issue Mar 18, 2020 · 2 comments · May be fixed by #169

Comments

@sebastien-savalle
Copy link
Contributor

Hello,

In the api /Users/Me, the user principal provided by the security context is used to retrieve the SCIM user associated to the caller.
Would it possible to pass this user to all implementations ?

When the security context does not contain user principal, an error 500 is thrown with a NPE.

@sebastien-savalle sebastien-savalle changed the title User Principal Context How to retrieve the user principal ? Mar 19, 2020
@henrikpalsson
Copy link
Contributor

I am also interested in this because it is need to check if the requesting user have access to this API.

@henrikpalsson
Copy link
Contributor

Are there any planning for implementing this?

henrikpalsson added a commit to henrikpalsson/scimono that referenced this issue Oct 20, 2021
@henrikpalsson henrikpalsson linked a pull request Oct 20, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants