Ahh, thanks for that. Let me confer with the lead dev for this project and
we'll see if we can get this squared away.
*Ortus Solutions, Corp *
On Fri, Jun 30, 2017 at 9:02 PM, Stuart Douglas <sdouglas(a)redhat.com> wrote:
It sounds like you are trying to use the Servlet API?
If so then you don't install the basic auth handler manually, you set
the appropriate info into DeploymentInfo and Undertow will set it up
Here is an example:
On Sat, Jul 1, 2017 at 9:04 AM, Brad Wood <bdw429s(a)gmail.com> wrote:
> Hello, I'm having troubles getting the remote_user cgi variable when
> basic authentication. The basic auth itself seems to work fine. The
> browser challenges me, I enter a user/pass, and the page loads. However
> request.getRemoteUser() is returning null.
> Here is the bits that are setting up the basic auth handler:
> I've Googled quite a bit and I can't find any guides that indicate that
> anything special needs set up for remote user to be available. I also
> the exchange attribute class for remote user in Undertow, but can't find
> docs or guides at all that indicate how it is to be used or if I need to
> doing anything with it in regards to basic auth.
> Can someone provide a sanity check on what is missing for the remote
> be available?
> Using Undertow 1.4.11.Final
> Developer Advocate
> Ortus Solutions, Corp
> E-mail: brad(a)coldbox.org
> ColdBox Platform: http://www.coldbox.org
> Blog: http://www.codersrevolution.com
> undertow-dev mailing list