tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: JAAS - public Credentials and ip address
Date Thu, 01 Sep 2005 16:57:10 GMT
From: "Franck Borel" <borel@ub.uni-freiburg.de>

> 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

-- 
Wendy Smoak


---------------------------------------------------------------------
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