Skip to Content
0
Former Member
Jan 09, 2006 at 08:10 PM

JAAS LoginModule - how do I get path, port, resource accessed, etc

107 Views

Hi,

I checked everywhere including the forums, but could not get any info on this. I'm writing a custom JAAS LoginModule for the WebAS 6.40 server. I'm trying to figure out how to get the following out of the request from within login() or initialize() or any other method:

1. Name of the webserver (i.e. the WebAS server being accessed like www.mycompany.com)

2. Resource (e.g. /QuickCarRental)

3. Port through which the request comes in (e.g. 50000)

The URL being accessed in the above case is http://www.mycompany.com:50000/QuickCarRental

Appreciate your help, and points will be awarded. Have a nice day 😊

R Abraham