Re: Lost ENV variable value .........

2007-01-14 Thread Tracy12
use > the same Auth together (called a "realm"). > >> 3) Pass addtional parameters to the handler >> solution -> in the httpd.conf block pass it as >> >> PerlSetVar CASHost "testCasServer" >> PerlSetVar CASPort "8443"

Re: Lost ENV variable value .........

2007-01-14 Thread Tracy12
Name can be >> whatever you want it to be. It's basically a way to group the locations >> that use >> the same Auth together (called a "realm"). >> >> > 3) Pass addtional parameters to the handler >> > solution -> in the httpd.conf block pass it as >&

Re: Lost ENV variable value .........

2007-01-14 Thread Tracy12
"realm"). >> >> > 3) Pass addtional parameters to the handler >> > solution -> in the httpd.conf block pass it as >> > >> > PerlSetVar CASHost "testCasServer" >> > PerlSetVar CASPort "8443" >> >> Yep. If possible keep the configuration data inside the configuration >> s. >> >> -- >> Michael Peters >> Developer >> Plus Three, LP >> >> > > -- View this message in context: http://www.nabble.com/Lost-ENV-variable-value-.-tf2956856.html#a8364005 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Lost ENV variable value .........

2007-01-12 Thread Peter Rosenthal
I have used CAS myself, but instead of attempting to implement the server module for CAS authentication I used mod_cas. This might be an easier way of doing what you are trying to do. On 12/01/07, Michael Peters <[EMAIL PROTECTED]> wrote: Tracy12 wrote: > 1) As we dont use the apache basic aut

Re: Lost ENV variable value .........

2007-01-12 Thread Michael Peters
Tracy12 wrote: > 1) As we dont use the apache basic authentication but our CAS > authentication. If the authentication is not successful how can we redirect > to the CAS login page. > > My suggestion -> instead of returning the AUTH_REQUIRED redirect to > CAS URL with the service. > i

Re: Lost ENV variable value .........

2007-01-11 Thread Tracy12
ove >>> httpd.conf >>> entry what the values should we give for AuthType , AuthName in the >>> above >>> Location declaration. >>> >> >> I think, with PerlAuthzHandler you only need to specify a "Requires >> valid-user" to make it work. >> >> Rob >> >> > > -- View this message in context: http://www.nabble.com/Lost-ENV-variable-value-.-tf2956856.html#a8292743 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Lost ENV variable value .........

2007-01-11 Thread Tracy12
k, with PerlAuthzHandler you only need to specify a "Requires > valid-user" to make it work. > > Rob > > -- View this message in context: http://www.nabble.com/Lost-ENV-variable-value-.-tf2956856.html#a8290672 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Lost ENV variable value .........

2007-01-11 Thread Robert Landrum
Tracy12 wrote: 1) As we dont use the apache basic authentication but our CAS authentication. If the authentication is not successful how can we redirect to the CAS login page. Ah-ha... So CAS authentication is done via a webform of some type, which means that it uses cookies. Am I correct i

Re: Lost ENV variable value .........

2007-01-11 Thread Tracy12
gt; handler to perform the location redirect. In fact, you don't want a > location redirect at all. You want to return OK if the user is > authenticated (i.e. the username and passsword are verified by the CAS > service) and AUTH_REQUIRED otherwise. At least that's how it

Re: Lost ENV variable value .........

2007-01-11 Thread Robert Landrum
Perrin Harkins wrote: After successful authentication we need to pass the control to another application(which is running on the same apache server) which depend on the REMOTE_USER value which we set. That will work fine, as long as your auth handler runs in the same request as the thing that w

Re: Lost ENV variable value .........

2007-01-11 Thread Perrin Harkins
On Thu, 2007-01-11 at 15:01 -0800, Tracy12 wrote: > My intention is not to use the authentication provided by the apache, but > uses a authentication mechanism by CAS (Central Autthentication Service) > running else where If you intend to use HTTP basic auth (with the popup window that asks for y

Re: Lost ENV variable value .........

2007-01-11 Thread Tracy12
do authentication and are just looking for a way > to preserve some data between requests, you need to pass it in cookies, > or URLs, or hidden form fields. > > - Perrin > > > -- View this message in context: http://www.nabble.com/Lost-ENV-variable-value-.-tf2956856.html#a8288447 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Lost ENV variable value .........

2007-01-11 Thread Robert Landrum
Tracy12 wrote: Thanks, If this is the case, How can we preserve the REMOTE_USER value and forward/redirect to the other application ( running on same Apache Server) which is based on the REMOTE_USER environment variable, which is set in my perl module in the first application. I was under th

Re: Lost ENV variable value .........

2007-01-11 Thread Perrin Harkins
On Thu, 2007-01-11 at 14:06 -0800, Tracy12 wrote: > If this is the case, How can we preserve the REMOTE_USER value and > forward/redirect to the other application > ( running on same Apache Server) which is based on the REMOTE_USER > environment variable, which is set in my perl module in the firs

Re: Lost ENV variable value .........

2007-01-11 Thread Tracy12
script (http://localhost/rUser.pl) prints the REMOTE_USER >> variable as follows. >> >> print "value of remote port is ",$ENV{'REMOTE_USER'}; >> >> >> I refer to my perl module from httpd.conf as follows. >> >> SetHandler perl-

Re: Lost ENV variable value .........

2007-01-11 Thread Phil Whelan
I refer to my perl module from httpd.conf as follows. SetHandler perl-script PerlHandler AuthCAS->test_Method I am using mod_perl2.0, can somebody let me know why the REMOTE_USER variable is missing. What am I doing wrong. Thanks, -- View this message in context: http://www.nabble.c

Lost ENV variable value .........

2007-01-10 Thread Tracy12
as follows. print "value of remote port is ",$ENV{'REMOTE_USER'}; I refer to my perl module from httpd.conf as follows. SetHandler perl-script PerlHandler AuthCAS->test_Method I am using mod_perl2.0, can somebody let me know why the REMOTE_USER variable is missing.