"ALRubinger" wrote : I couldn't find replacements for the following:
|
| SecurityAssociation.getPrincipal();
| | SecurityAssociation.getCallerPrincipal();
|
| ...are there?
|
| S,
| ALR
Your tests should just be setting the principal/cred. Why are you trying to get the
callerPrincipal from SecurityAssociation? What happened to
ejbcontext.getCallerPrincipal? When will the spaghetti ejb3 layer look edible? :)
Regarding getting the latest principal on the securitycontext, the api that you quote
looks good. But I still am at a loss as to why you are trying to retrieve the
principal/caller principal in the tests. Please point me to the tests that are trying to
do this. :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139936#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...