Thank you! I solved my problem, and the roles are correctly set in my realm now!
Le 03/09/12 18:56, jleleu a écrit :
Hi, You're right, if you want to authenticate, you should use the JndiLdapRealm. Then, if you want to compute roles and permissions, you have to extend this class and override the doGetAuthorizationInfo method. It's up to you to handle the database access the way you can / want (JDBC, SpringTemplate, Hibernate...). You could take a look at the doGetAuthorizationInfo method of the JdbcRealm class to get some inspiration. Best regards, Jérôme -- View this message in context: http://shiro-developer.582600.n2.nabble.com/Role-assignment-tp7577674p7577675.html Sent from the Shiro Developer mailing list archive at Nabble.com.
-- Antoine Berry
