lundi 18 mai 2015

Ldap authentication, load roles from local database

I want to override groups from LDAP by groups from my local database. I have already configured LDAP realm. Can you help me? I'm using wildfly(no spring lib).

By default i want to use "read-only" group for all users which don't have mapping for roles in local DB.

Edit: My configuration is like here: How implement LDAP login in wildfly web app

Can I create some class/bean where after LDAP auth i will do some modifications on User(ex. change group)?

Maybe it will be easier to use Spring?

Aucun commentaire:

Enregistrer un commentaire