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