rolePolicy and roleDiscriminator are on the AbstractLoginModule (so used
by all karaf login modules including LDAP).
if (policy != null && roleDiscriminator != null) {
policy.handleRoles(subject, principals, roleDiscriminator);
} else {
subject.getPrincipals().addAll(principals);
}
So, I'm not sure it helps here (it's the way that the roles are retrieved).
Without policy, the principals are used as role.
Regards
JB
On 01/30/2014 01:01 PM, cbiava wrote:
I didn't try role.policy or role.discriminator.
Maybe I could figure something with that ?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Jaas-realm-problem-tp4031391p4031413.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com