Re: OpenEJB Client IP/HOST

2014-10-15 Thread Andy Gumbrecht
openejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672294.html Sent from the TomEE Dev mailing list archive at Nabble.com. -- Andy Gumbrecht https://twitter.com/AndyGeeDe http://www.tomitribe.com

Re: OpenEJB Client IP/HOST

2014-10-15 Thread Romain Manni-Bucau
ion sorry :s, why do you want an IP is you >>>>> have no request? >>>>> >>>>> >>>>> Romain Manni-Bucau >>>>> @rmannibucau >>>>> http://www.tomitribe.com >>>>> http://rmannibucau.wordpress.com &g

Re: OpenEJB Client IP/HOST

2014-10-15 Thread Charms Styler
request? >>>> >>>> >>>> Romain Manni-Bucau >>>> @rmannibucau >>>> http://www.tomitribe.com >>>> http://rmannibucau.wordpress.com >>>> https://github.com/rmannibucau >>>> >>>> >>>> 201

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Andy Gumbrecht
message in context: http://tomee-openejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672275.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Romain Manni-Bucau
w.tomitribe.com >> http://rmannibucau.wordpress.com >> https://github.com/rmannibucau >> >> >> 2014-10-14 19:35 GMT+02:00 Charms Styler : >>> >>> No http request since I am only using openejb container. any workarounds ? >>> >>> >>>

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Andy Gumbrecht
ejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672275.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Romain Manni-Bucau
ly using openejb container. any workarounds ? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672275.html > Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Charms Styler
No http request since I am only using openejb container. any workarounds ? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672275.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: OpenEJB Client IP/HOST

2014-10-14 Thread Romain Manni-Bucau
Hi do you have a http request? getRemoteHost() doesn't help? getRemoteUser and getRemoteAddr are not yet implemented in embedded mode. If you use secured endpoints you can use sessionContext.getCallerPrincipal() Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ Linke

OpenEJB Client IP/HOST

2014-10-14 Thread Ƹ̵̡Ӝ̵̨̄Ʒ Charms Styler
Tried my OpenEJB embedded application as the server (only openejb container). Wondering How I can collect information about the requester like the IP. This strictly for audit purpose and also to prevent users from making attacks. Thread.currentThread().getName() seems to be the only way people coul