How do I configure a Shiro to use Active Directory Authentication, but in addition I want to map the usernames to custom roles. I can’t seem to find any information on this. Can anyone give me any pointers?
How do I configure a Shiro to use Active Directory Authentication, but in addition
Share
To do Active Directory Authentication use the JndiLdapRealm
For the authorization override the method queryForAuthorizationInfo
Be aware that you probably get group from your AD so you have to provide your own mapping (group to role).
About this shiro reference manual say :
Hope this will help