On Aug 3, 2009, at 9:21 PM, Caldarale, Charles R wrote:
From: Robert Koberg [mailto:r...@koberg.com]
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.
thanks!
-Rob
- Chuck
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org