> On Oct 22, 2024, at 12:20 PM, Brian Demers <bdem...@apache.org> wrote:
> 
> Thanks for starting the thread Shawn!
> (I had promised to to this at CoC, but I've failed to carve out some time to 
> do it, sorry about that, and thank you for jumping on it)
> 
> Shawn's summary is a great summary.  To chime in on the other questions on 
> location.
> Ideally, I'd like to see something like this land in the SCIMple examples 
> directory [0], but while we are hacking on things, the thinking was that 
> keeping it outside the repo would make it easier to get started.
> From there, we have options when we see what the final shape of this thing 
> becomes (example starting point, a flexible deployable artifact that just 
> needs a config file, etc)
> 

Has been started:

https://github.com/shawnmckinney/LdapEntryManager

Not yet ready for SCIM testing. Need to flesh out the reqs but, the basic 
structure’s in place. Pooling, encryption, configs in place.

I intend to change its interface from rigid User, Group APIs, to flexible, as 
discussed on the another thread. 

—
Shawn


> A little more background.
> 
> The current SCIMple examples are functional, but leave a lot to the 
> developers imagination. In order to handle users and groups, a developer 
> would need to implement a `Repository<ScimGroup>` and `Repository<ScimUser>` 
> (think CRUD operations). All the current examples implement these with in 
> memory maps [1]. While this works it ignores many complexities of a real 
> world implementation:
>   - Performance hits connecting to a store (LDAP server, database, etc)
>   - more complex requirements like paging
>   - handling complex search filters
>   - and... there is no LDAP example in tree which IMHO, is needed given 
> SCIMple is part of directory.
> 
> This example, should help cover all of these eventually, starting with simple 
> use cases (e.g. a single LDAP schema, basic search, etc), 
> 
> [0] 
> https://github.com/apache/directory-scimple/tree/develop/scim-server-examples
> [1] 
> https://github.com/apache/directory-scimple/blob/develop/scim-server-examples/scim-server-quarkus/src/main/java/org/apache/directory/scim/example/quarkus/service/InMemoryUserService.java#L146-L150


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to