[jboss-user] [Security & JAAS/JBoss] - Accessing Principal within Interceptor

hamtho2 do-not-reply at jboss.com
Fri Jan 23 03:29:18 EST 2009


I would like to access the current principal within a custom written Hibernate Interceptor - which is by nature no sessionBean.

What would be the best way to access the current principal which called the EJB within this interceptor?

Any chance to get the SessionContext without dependency injection? Or what would be the point to look for?


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

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

More information about the jboss-user mailing list