i added request.tomcatAuthentication=false inside jk2.properties... and
set
windows integrated authentication on my website.
but still... request.getRemoteUser() returns NULL... =|
here's my jk2.properties file;
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
# shm.file=${jkHome}/work/jk2.shm
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
# request.tomcatAuthentication=false
-----Original Message-----
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:21 PM
To: Tomcat Users List
Subject: RE: Why request.getRemoteUser() returns NULL ?
we do it by adding
request.tomcatAuthentication=false
into tomcat/conf/jk2.properties
if you are using IIS then you also need to set Windows Integrated
Authentication on your default website.
ADC
> -----Original Message-----
> From: Aris Javier [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2004 08:04
> To: [EMAIL PROTECTED]
> Subject: Why request.getRemoteUser() returns NULL ?
>
>
> i found this in jguru...
>
> <Connector port="8009" protocol="AJP/1.3"
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
> redirectPort=" 8443" tomcatAuthentication="false">
>
> it stated there that if i do this in server.xml,
> request.getRemoteUser()
> will not equal to NULL.. ?
>
> i did, but request.getRemoteUser() returns NULL
>
> please, anybody.. do you know how to get request.getRemoteUser() to
> work?
>
> i need it badly! please!
>
> aris
>
>
>
<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]