[jboss-user] [EJB 3.0] - How to get current security domain from a session bean

jc7442 do-not-reply at jboss.com
Tue Aug 21 06:22:21 EDT 2007


I need to get the current security domain from a session bean to be able to read login config options in order not to duplicate this config.

Is it possible to get the name of the current security domain ? 


This domain is defined either in jboss.xml or by the the SecurityDomain annotation. It looks that it will be able to get this information from applicationMetadata. How can i get Metadata from a session bean ?



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

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



More information about the jboss-user mailing list