users@glassfish.java.net

Re: jdbsRealm & Roles

From: <forums_at_java.net>
Date: Wed, 9 Nov 2011 03:48:49 -0600 (CST)

One way is to enable Default Principal to Role mapping (From the admin
GUI or asadmin cli). This way, the roles get assigned to groups of the same
name.

Another way is to use the alternate jacc provider in Glassfish :
http://blogs.oracle.com/monzillo/entry/prelude_includes_portable_in_memory .
And in this, the RoleMapper interface can be implemented as a custom
JDBC RoleMapper to map it to a Database.

 

HTH

Nithya


--
[Message sent by forum member 'nitkal']
View Post: http://forums.java.net/node/861575