| Author |
Problem with authentication for .net exe using Realm
|
damayanti kulkarni
Greenhorn
Joined: Jan 23, 2005
Posts: 3
|
|
Hi all, I have a web-application in tomcat 5.0. This web application is protected by JDBCRealm (Form authentication) . When i am trying to access any resource (e.g. *.html, *.jsp) from this web application, it works fine. First, JDBCRealm checks if the user is authenticated or not. If the user is not authenticated, JDCBRealm redirects to the login page. After the successful user authentication, required resource is sent to the client. I also have a dotnet exe in the same web application. But the problem is that, When i am trying to access this exe, JDBCRealm first shows the login page for authentication. Even if i enter correct user name and password, the required resource, i.e. exe, is not allocated to me. It doesn't show any exception or error. I don't know, in one case (e.g. for html and jsp files) Realms works fine, and only in case of exe doesn't work properly. Thanks & Regards Damayanti
|
 |
Stephen Huey
Ranch Hand
Joined: Jul 15, 2003
Posts: 618
|
|
Are you just typing the URL into the address bar of a web browser? How about making a webpage that contains a link to the .exe file? When you say dotnet, you mean it's a Windows executable, right? A program file, not some sort of .NET webpage, because if it's some kind of .NET webpage, I don't think you're going to get Tomcat to be able to run it... If it's a Windows executable file, then make that link to it, and right-click the link and choose Save As or whatever, and you should be able to download it to your computer.
|
 |
 |
|
|
subject: Problem with authentication for .net exe using Realm
|
|
|