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
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
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 :
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