users@glassfish.java.net

Re: isUserInRole not working

From: <glassfish_at_javadesktop.org>
Date: Tue, 10 Mar 2009 05:13:40 PDT

> I can see that there is one successful login for
> "wayne".
Yes, the jdbcrealm logging in is working well now.

>
> Can you attach the
> domains/domain1/generated/policy/<your
> ejb>/granted.policy file.
Attached

>
> Also did you have a @DeclareRoles annotation, i can't
> see that in what you pasted so far.
No, I can't see the use.

>
> Does there exist a group called "noone" ?. Does that
> group get assigned to the authenticated user via your
> custom JDBC Realm or did you use assign-groups
> property in the JDBC Realm defintion.
The noone group is assigned directly from the database.
[Message sent by forum member 'waynetg' (waynetg)]

http://forums.java.net/jive/thread.jspa?messageID=336051