I am trying to set up BASIC authentication on a servlet on OAS 10.1.3.1. I want to constrain every method of access to the servlet. I have created a realm through the Security Providers. Here are my web.xml:
My realm ("codereload") has one role, "codereloadrole" and one user "user1" (password: "pass1") and the user is attached to the role. I get the popup login box when going to the servlet but user1/pass1 does not work. Am I missing some bit of configuration?
John Eric Hamacher
Joined: Apr 25, 2007
I figured out the problem . . . when using a custom realm you must prefix the user with the realm name e.g. codereload/user1. but now I get
BASIC authentication is supposed to be easier than this! Does anybody know what this means?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com