How do I access the Principal information from the EJB?
@MethodPermissions({"student"})
@TransactionAttribute(TransactionAttributeType.REQUIRESNEW)
public boolean doSomething(Quote quote) {
. . .
}
I know when a user does not have permission to access a method it returns an
error stating the Principal name and than the role. So I am assuming that the
EJB does know the principal, so how do I find out which user is accessing the
method?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867305#3867305
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867305
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user