This content has been marked as final.
Show 4 replies
-
1. Re: custom Principal and custom LoginModule
tang Apr 2, 2004 9:01 AM (in response to mkord)I had the same problem, I think this will help you:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45724 -
2. Re: custom Principal and custom LoginModule
mkord Apr 2, 2004 9:25 AM (in response to mkord)Sorry, but your link don't help me.
I don't andestund what i should do to solve this problem -
3. Re: custom Principal and custom LoginModule
phantom Apr 5, 2004 8:44 AM (in response to mkord)I can help you.
To resolve this problem you must upgrate to the newer version JBOSS from CVS or I can send you patched by me jar file for tomcat-jboss integration. -
4. Re: custom Principal and custom LoginModule
baric Apr 9, 2004 4:55 PM (in response to mkord)When you create your Group[] in getRoleSets() in your login module, make sure you do something like this:
// create the CallerPrincipal group groups[1] = new SimpleGroup("CallerPrincipal"); groups[1].addMember(identity);
where "identity" is an instance of your custom Principal.