Railo AUTH_USER & REMOTE _USER blank

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 4
Joined: 18 Jul 2013, 04:49

Railo AUTH_USER & REMOTE _USER blank

18 Jul 2013, 05:03

We have donloaded and installed Railo on a local windows 7 machine running IIS. We are trying to get one of our websites working with Railo (moving from coldfusion).

The website we are migrating uses windows authentication (set in IIS). However, the AUTH_USER and REMOTE_USER values are blank. We get the pop up screen and we are authenticating fine but the values are blank.

Can anyone help with this?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Railo AUTH_USER & REMOTE _USER blank

18 Jul 2013, 06:15

Hello,

As Zoo uses HTTP transport to communicate with jetty applications, we cannot transfer server variables to jetty.
But Zoo sends the following headers in request:

X-ZOO-AUTH-TYPE
X-ZOO-AUTH-USER
X-ZOO-LOGON-USER
X-ZOO-REMOTE-USER

which correspond to server variables:

AUTH_TYPE
AUTH_USER
LOGON_USER
REMOTE_USER

User avatar
Posts: 4
Joined: 18 Jul 2013, 04:49

Re: Railo AUTH_USER & REMOTE _USER blank

18 Jul 2013, 08:10

Thats great.. many thanks for the quick response.

We have CGI.AUTH_USER in a core files... is there a way to substitute CGI.AUTH_USER without changing the files... ie a global config file

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Railo AUTH_USER & REMOTE _USER blank

18 Jul 2013, 11:07

Hello,

Can you explain where this CGI.AUTH_USER is used? Is it inside Railo? If yes, then we will not be able to offer you anything...

User avatar
Posts: 4
Joined: 18 Jul 2013, 04:49

Re: Railo AUTH_USER & REMOTE _USER blank

18 Jul 2013, 11:18

We have a couple of scripts that we are using it in for identifying at log on and logging changes to a table.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Railo AUTH_USER & REMOTE _USER blank

19 Jul 2013, 09:14

Hello,

The only thing we can recommend is to use request header instead of CGI.AUTH_USER. Which one? It's better to ask Railo community about that as we cannot know all the peculiarities that can exist.

User avatar
Posts: 4
Joined: 18 Jul 2013, 04:49

Re: Railo AUTH_USER & REMOTE _USER blank

19 Jul 2013, 09:35

thank you very much for your help.

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 4 guests