Apache shiro: Use ldap for user authentication and database for roles/permissions?

StackOverflow https://stackoverflow.com/questions/19689382

  •  01-07-2022
  •  | 
  •  

سؤال

we just started with apache shiro and it works fine in a simple jdbc or ldap based environment.

Be our requirements are the following:

  • Authentication of the users agains a ldap server
  • Roles+Permissions should be stored inside a database

Has anyone some pointers on how this can be done?

هل كانت مفيدة؟

المحلول

There is a different question but the example is exactly what you looking for.

How do concepts of User (UserAccount) and Realm relate in Apache Shiro?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top