tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject Re: how to get realm name
Date Tue, 04 Aug 2009 04:47:26 GMT

On Aug 3, 2009, at 9:21 PM, Caldarale, Charles R wrote:

>> From: Robert Koberg []
>> Subject: how to get realm name
>> I have been looking through the code and API, but cannot find a way  
>> to
>> get the realm name to perform the digest.
> <snip/>
> Note that if you leave out the <realm-name> element, it defaults to  
> [host]:[port], which is easily retrievable from the Request object  
> via getServerName() and getServerPort().

This one would work well for me and give a slightly simpler config. I  
am using an html form to front the digest authentication instead of  
the browser's dialog, so a user would never see the realm name.


> - Chuck

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

View raw message