Paul Sandoz escribió:
>
> On Jul 28, 2009, at 2:24 PM, jp wrote:
>
>> Hi,
>>
>> I'm using netbeans 6.7, I have an app. that publish some REST web
>> service, I would like to known if there is a way to known which host ip
>> is invoking the web service.
>>
>
> Inject the HttpServletRequest e.g.:
>
> @Context HttpServletRequest hsr.
>
>
>> I'm evaluating put some security on my web services ... some ideas ? or
>> advices ?
>
> What do you want to do?
Thanks Paul!
hsr.getRemoteHost(); works perfect.
I want at least authenticate users ... I'm reading Acegi Security, What
do you think / recommend ?
In the future may be I need SSL ...
thanks again!
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>