tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: JAAS - public Credentials and ip address
Date Thu, 01 Sep 2005 16:57:10 GMT
From: "Franck Borel" <>

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

Wendy Smoak

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

View raw message