tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Borel <>
Subject Re: JAAS - public Credentials and ip address
Date Fri, 02 Sep 2005 06:53:52 GMT
Hi Wendy,

Thanks for your answer.

>> I am trying to implement a JAAS-module that can authenticate a user with
>> username/password and his/her ip-address. To get the username and 
>> password
>> is straightforward. My problem is that I don't know how to get the
>> ip-address of the user. (I am newbee concerning JAAS, so please don't
>> laugh if I say stupid things :-). Is it possible to use the public
>> credentials to get the ip-address of the current user trying to
>> authenticate?
> I believe this would be done with a n additional CallbackHandler. 
> Unfortunately, the docs say that JAASRealm only recognizes
> 'NameCallback' and 'PasswordCallback' at present.

Yes, that's what I am founding too after reading a lot of material :-).

-- Franck

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message