bdemers commented on issue #449:
URL: 
https://github.com/apache/directory-scimple/issues/449#issuecomment-1856484338

   🤔 You could probably inject the SecurityContext and HTTP request objects 
into your `Repository` implementation
   
   NOTE: How it gets injected may depend on your container, Jakarta RESTful Web 
Services 4.0, [will improve 
this](https://jakarta.ee/specifications/restful-ws/4.0/), but field injection 
_should_ work everywhere ☹️ 
   
   
https://github.com/apache/directory-scimple/blob/develop/scim-server/src/main/java/org/apache/directory/scim/server/rest/SelfResourceImpl.java#L51-L52
   
   
https://github.com/apache/directory-scimple/blob/develop/scim-server/src/main/java/org/apache/directory/scim/server/rest/BaseResourceTypeResourceImpl.java#L78-L85
   
   If that doesn't work, let us know!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to