I believe it works this way: The SecurityProxy that you write as part of the 
AOP should implement the org.jboss.security.SecurityProxy interface, which 
requires that you implement a setEJBContext() method. JBoss will call this 
method prior to the invoke() of EJB method. Then you will have the 
SessionContext as an instance variable and can get the principal from it and 
use it in whatever validation code you write.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864129#3864129

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864129


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to