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
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
request?
>>>>
>>>>
>>>> Romain Manni-Bucau
>>>> @rmannibucau
>>>> http://www.tomitribe.com
>>>> http://rmannibucau.wordpress.com
>>>> https://github.com/rmannibucau
>>>>
>>>>
>>>> 201
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.
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 ?
>>>
>>>
>>>
ejb.979440.n4.nabble.com/OpenEJB-Client-IP-HOST-tp4672259p4672275.html
Sent from the TomEE Dev mailing list archive at Nabble.com.
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.
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.
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
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
10 matches
Mail list logo