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 Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security-constrain and security-role

Elinor Chang
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to config my tomcat to restrict the usage of POST method to any of my pages. I configure as the following in the web.xml
<display-name> Privileged user only </display-name>
Defines privileged user for this tomcat installation
It seems working but I got 'error' is a 500 and I am expecting a 404. There is the error massage
HTTP Status 500 - Configuration error: Cannot perform access control without an authenticated principal
Is there anything I did wrong?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic