I'm trying to add some password-protected directories. Here is the
relevant entry from jrun-users.xml:
-----------------------------------------------
<user>
<user-name>someUser</user-name>
<password>password</password>
</user>
<role>
<role-name>users</role-name>
<user-name>someUser</user-name>
</role>
-----------------------------------------------
....and the security-constraint section from web.xml:
-----------------------------------------------
<security-constraint>
<web-resource-collection>
<url-pattern>/dir1/dir2/protectedArea/*</url-pattern>
<description>Password protected area</description>
</web-resource-collection>
<auth-constraint>
<role-name>users</role-name>
<description>Secret place</description>
</auth-constraint>
</security-constraint>
-----------------------------------------------
Not only does this not work, but making the changes to web.xml
apparently crashes JRun as well.
What is most frustrating about this is that I have four other
directories which are password protected in the same way, and they all
work fine. It's this one which just plain doesn't work.
What am I doing wrong? There has got to be a better way of setting up
password-protected directories in JRun besides editing the xml files by
hand.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
