[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-18 Thread rimmeraj
OK, after reading the updated javaworld anser I found my answer. I'll put it here for others. In your getRoleSets() method you need to add another group called CallerPrincipal. The member of this class should be what you want returned when you call EJBContext.getCallerPrincipal so a sample

[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-17 Thread rimmeraj
OK. I have looked at AbstractServerLoginModule whcih my custom Server Login Module. Now instead of useing the property I am overiding createIdentity with my own custom implementation. the problem is that it is never getting called. Therefore ctx.getCallerPrincipal is still returning a class of

[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-16 Thread rimmeraj
Excellent! So does JAAS now keep the Principal class the the server login module returns or do I have to ytell JASS which Principal class to use? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838955#3838955 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-15 Thread [EMAIL PROTECTED]
3.2.4+ supports this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838805#3838805 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838805 --- This SF.Net email is