Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Problem with authentication for .net exe using Realm

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 have a .NET 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 requested resource(i.e. .NET exe) is not allocated to me. It doesn't show any exception or error.

I don't know, in one case (e.g. *.html and *.jsp pages) Realms works fine, and only in case of .NET exe doesn't work properly.

Please help me to resolve this problem.

Thanks
Damayanti
 
I like tacos! And this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!