aspose file tools*
The moose likes Tomcat and the fly likes The browser asks for authentication when using Apache Tomcat Connector from another domain. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "The browser asks for authentication when using Apache Tomcat Connector from another domain." Watch "The browser asks for authentication when using Apache Tomcat Connector from another domain." New topic
Author

The browser asks for authentication when using Apache Tomcat Connector from another domain.

elisha Sterngold
Greenhorn

Joined: Dec 01, 2011
Posts: 1
Our system is a Java system that is working on apache tomcat. There system is working on IIS(6.0).
To make it work we are putting the Apache Tomcat Connector(ajp v. 1.3) as a proxy for forwarding all the information from the iis to the Apache Tomcat server.

We installed it like this in one domain when the apache is on an other computer then the iis. We now tried to add another connection like this and it didn't work well.

The new connection is from another domain. The new iis forwarded the static pages but when it tried to do an ajax request there opened a window with a request to enter the user and password.

We can see that the ntlm is forwarded to the apache.

Thanks,
Elisha
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303
    
  21

Welcome to the JavaRanch, Elisha!

It sounds like what you need is Single Signon (SSO).

Tomcat uses plug-in modules called Realms to handle JEE standard security. Most of them control authentication and authorization for a single app on a single server. However, SSO Realms can reference a master A&A service such as NTLM so that they won't force a login if the user was already logged in somewhere else. NTLM is an extreme case, since you have to do a Windows login just to get to the desktop, but that actually isn't important to SSO. Signed on is Signed on, after all.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The browser asks for authentication when using Apache Tomcat Connector from another domain.