This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Security Constraint problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I got the following problem:
I have a J2EE web application and added a security constraint for it, so that we are able to use the security of the application server (e.g. LDAP).
But the "normal" login procedure should not be touched in any way, so it should be possible that users may login over a standard login as well.

We use struts (to make everything a little more complex ;-) and two login modules.








My problem is, if I use the normal login, instead of the login.do the j2ee_login.jsp is called which is absolutly nonsense.

I am not sure if it lies in my struts-config.xml or if my application.xml and/or web.xml is wrong.

The j2ee_login.jsp login form should only be shown if the user calls the url j2ee.jsp and is not authenticated.

I hope anyone can help me with this. (and that security is the right forum to post this...)

thanks a lot, Manuel

[ May 23, 2006: Message edited by: Manuel Manhart ]
[ May 23, 2006: Message edited by: Manuel Manhart ]
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic