Can you let us know how you did this, Can we update the REMOTE_USER variable, From where can we find the documentation.
Does mod_cas takes configurable parameters,is it s Authentication module, Our objective is simply, call the CAS, serivice_validate retrive the xml and look for a specific attribute, if it is there update the remote_user variable, that is it. We dont bother about any PGTIOU etc....... We only care about service_validate. Let us know specifics, Thanks Peter Rosenthal wrote: > > 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 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. >> > if this is wrong how to achieve this in a different way >> >> I'd still use AUTH_REQUIRED and then use ErrorDocument to handle the >> redirection >> (unless of course you need to figure out the URL dynamically). This way >> you can >> keep the location as part of your config data. >> >> ErrorDocument 403 /login/url >> >> > 2) As we dont use the basic authentication in apache in the above >> httpd.conf >> > entry what the values should we give for AuthType , AuthName in the >> above >> > Location declaration. >> >> Set AuthType to 'Basic' since it's not 'Digest'. And then AuthName 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 >> > >> > PerlSetVar CASHost "testCasServer" >> > PerlSetVar CASPort "8443" >> >> Yep. If possible keep the configuration data inside the configuration >> <Location>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.