Re: Does windows authentication works on Tomcat under Linux.

2013-02-25 Thread André Warnier

Denis wrote:

Hello,

I want to use Tomcat's Windows Authentication 
http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html#Third_party_libraries 
feature to have a reliable domain user name via 
HTTPServletRequest.getRemoteUser() within my servlet.


Questions:

1) Is Tomcat's Windows authentication supposed to work in my env?

 * Application Server: apache-tomcat-7.0.21
 * JDK version: 1.6.0_26
 * OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga)

2) Any additional setup required to be able to access domain 
username via HTTPServletRequest.getRemoteUser() within my servlet?




Hi.
I do not know either if the above is supposed to work also under Linux as a 
platform.
It is not very clear in the Tomcat docs, and I have asked a couple of times on the list 
without getting much of an answer.  (Probably because few people know).


Now just in case it doesn't work, the following works fine under Linux as well as under 
Windows :

Jespa , at www.ioplex.com

You can download it and test it for 60 days free, and the final license costs are very 
moderate.

(I have no commercial interest in that, I just use it happily).

For Jespa, the answers to your questions are :
1) yes, it will work
2) apart from the setup of Jespa itself, no additional setup or change in the 
app is required.
The setup of Jespa does require the intervention of a sysadmin at the site though, because 
it requires creating a Windows machine account for Jespa. See the doc, also available 
for download.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Does windows authentication works on Tomcat under Linux.

2013-02-25 Thread Mark Thomas

On 25/02/2013 10:48, André Warnier wrote:

Denis wrote:

Hello,

I want to use Tomcat's Windows Authentication
http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html#Third_party_libraries
feature to have a reliable domain user name via
HTTPServletRequest.getRemoteUser() within my servlet.

Questions:

1) Is Tomcat's Windows authentication supposed to work in my env?

 * Application Server: apache-tomcat-7.0.21
 * JDK version: 1.6.0_26
 * OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga)

2) Any additional setup required to be able to access domain
username via HTTPServletRequest.getRemoteUser() within my servlet?



Hi.
I do not know either if the above is supposed to work also under Linux
as a platform.
It is not very clear in the Tomcat docs, and I have asked a couple of
times on the list without getting much of an answer.  (Probably because
few people know).


It should work but I haven't tested it.

I suggest opening an enhancement request for the docs to be updated to 
include a known working Linux config. I should be able to take a look at 
doing that once I get back from ApacheCon next week.


Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Does windows authentication works on Tomcat under Linux.

2013-02-25 Thread Denis

It will be helpful for those who don't have time to try-and-fail.

On 2/25/2013 2:10 PM, Mark Thomas wrote:

On 25/02/2013 10:48, André Warnier wrote:

Denis wrote:

Hello,

I want to use Tomcat's Windows Authentication
http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html#Third_party_libraries 


feature to have a reliable domain user name via
HTTPServletRequest.getRemoteUser() within my servlet.

Questions:

1) Is Tomcat's Windows authentication supposed to work in my env?

 * Application Server: apache-tomcat-7.0.21
 * JDK version: 1.6.0_26
 * OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga)

2) Any additional setup required to be able to access domain
username via HTTPServletRequest.getRemoteUser() within my servlet?



Hi.
I do not know either if the above is supposed to work also under Linux
as a platform.
It is not very clear in the Tomcat docs, and I have asked a couple of
times on the list without getting much of an answer.  (Probably because
few people know).


It should work but I haven't tested it.

I suggest opening an enhancement request for the docs to be updated to 
include a known working Linux config. I should be able to take a look 
at doing that once I get back from ApacheCon next week.


Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org