• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Security Constraint problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic