tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Borel <bo...@ub.uni-freiburg.de>
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.
> 
>   
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm


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

-- Franck


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message