Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
2 Security Constraints ???
posted 11 years ago
I have a web application which must run entirely using https. I've successfully configured a security constaint and role for this.
I also need a portion of the web application to have restricted access using a form based login, which I know how to do as well.
But how do I configure a single web application to use both? Do I use 2 security constraints? ... or 1 security constraint and 2 resource collections?
I've tried many combinations but can't get the 2 methods to work simultaniously with different URL
and roles. Using the same url and role, it works fine.
Any ideas? Do I need to divide my app. into 2 apps.?
I agree. Here's the link:
Unable to login to manager GUI
MVC, JSP/Servlet/Bean Design Issue
How to set a user's role
Wrote SCEA Beta Test Exam Today - Feedback on the Sun Certified Architect Exam Part 1