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