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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to