I'm working on a identity management system based on LDAP. The integration of the software is done with the help of Spring security.
One requirement is the possibility to add new permissions to the software, based on groups. So the admin should be able to add a new group with appropriate permissions.
I'm able to do such a thing directly on my server with the .ldif files on the server backend:
dn: olcDatabase={1}hdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to attrs=userPassword,shadowLastChange
by dn="cn=admin,dc=foo,dc=off,dc=com" write
by anonymous auth
by self write
by * none`
Is it possible to do such a thing with Spring? Or should I rethink my design and work with permission attributes?