There are 3 database stores for you to worry about.
Users
Roles / Permissions / Resouces
Keys
If you are just providing Users / Authentication ldap integration, then
you need only to create an LDAP Provider for the Users Store.
Use the maven 2 build process and you don't have to manage the
components.xml manually, as the maven 2 build process creates them from
annotations within the source code.
See the examples in source control -
https://svn.codehaus.org/plexus/plexus-redback/branches/plexus-security-1.0-alpha-11/user-management/providers/
- Joakim
David Goemans wrote:
> yes I am willing to share this implementation. But I didn't write a
> implementation now (only a dummy). At the moment I only want to know
> how to configure it in the component.xml-File. Then I will try to write
> a LDAP-implementation.
>
> greetz
> David
>
> Joakim Erdfelt schrieb:
>
>> Would you be willing to share this implementation?
>> As we would all be interested in getting access to this?
>>
>> - Joakim Erdfelt
>>
>> David Goemans wrote:
>>
>>> Hi,
>>>
>>> I want to use LDAP to authenticate on Continuum. I tried to write a own
>>> RBAC-Manager and wanted to configure it in the file "components.xml" of
>>> the subproject continuum-security as follow:
>>>
>>>
>>>
>>> org.codehaus.plexus.security.rbac.RBACManager
>>> cached
>>> org.codehaus.plexus.security.authorization.rbac.store.cached.CachedRbacManager
>>> CachedRbacManager is a wrapped RBACManager with
>>> caching.
>>>
>>>
>>> org.codehaus.plexus.security.rbac.RBACManager
>>> ldap
>>> rbacImpl
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> operations
>>> operationsCache
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> permissions
>>> permissionsCache
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> resources
>>> resourcesCache
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> roles
>>> rolesCache
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> userAssignments
>>> userAssignmentsCache
>>>
>>>
>>> org.codehaus.plexus.ehcache.EhcacheComponent
>>> userPermissions
>>> userPermissionsCache
>>>
>>>
>>>
>>>
>>>
>>> org.codehaus.plexus.security.rbac.RBACManager
>>> ldap
>>> "my implementation"
>>> JdoRbacManager:
>>>
>>>
>>>
>>> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool
>>>
>>> jdo
>>>
>>>
>>>
>>>
>>>
>>> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool
>>>
>>>
>>> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool
>>>
>>> JdoTool - RBAC JDO Tools.
>>>
>>>
>>> org.codehaus.plexus.jdo.JdoFactory
>>> users
>>> jdoFactory
>>>
>>>
>>>
>>>
>>> The continuum uses now my implementation, but no roles, permissions, etc
>>> are defined. How can I configure the continuum roles, permissions, etc
>>> in the components.xml-file.
>>>
>>> My implementation extends the
>>> "org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacManager",
>>> because I only want to authenticate on LDAP if the user isn't saved in
>>> the Database.
>>>
>>> greetz
>>> David
>>>
>>>
>>>
>
>