Thank you for your very much for your answer.
But I have the same problem with role.users. As I understand
it I can put whatever role name I want after "role." (correct
me if I'm wrong):

# Users and groups can also be part of a role. Roles are defined
# in the following way:
#
#   role.{role name}={list of users and/or groups}
#

I will try to find a fix for this sometimes later (when I need
User Roles). Meanwhile I will use Basic Authentication in Apache
which should be sufficient until then.

Thanks again
Bernhard

> -----Urspr�ngliche Nachricht-----
> Von: Sue Hove [mailto:[EMAIL PROTECTED]]
> Gesendet am: Montag, 23. Oktober 2000 17:12
> An: 'Bernhard Herzog '; 'JRun-Talk '
> Betreff: RE: PropertyFileAuthentication
>
>  I've found that the file is wrong. It should be
>
> role.users=all
>
> Notice the 's' on users. For some reason, this file appears
> to be written
> wrong.
>
> HTH,
> Sue
>
> -----Original Message-----
> From: Bernhard Herzog
> To: JRun-Talk
> Sent: 10/23/00 9:31 AM
> Subject: PropertyFileAuthentication
>
> Hi All,
>
> I have tried to use Basic Authentication (PropertyFileAuthentication)
> with JRun. The browser displays the login box - but whatever I enter
> as username/password, I cannot login to my application
> (401 Unauthorized).
>
> ==== jrun/lib/users.properties:
>
> group.all=*
> role.user=all
> user.admin=adpexzg3FUZAk
> role.administrator=admin
>
> ==== web.xml
>
> <web-app>
> <display-name></display-name><description></description>
> <login-config>
>   <auth-method>BASIC</auth-method>
>   <realm-name>Administration</realm-name>
> </login-config>
>
> <security-constraint>
>   <web-resource-collection>
>     <web-resource-name>Administration</web-resource-name>
>     <url-pattern>*</url-pattern>
>     <http-method>GET</http-method>
>     <http-method>POST</http-method>
>     <description>Admintool Resource</description>
>   </web-resource-collection>
>   <auth-constraint>
>     <role-name>administrator</role-name>
>     <description>Administrators only</description>
>   </auth-constraint>
> </security-constraint>
> </web-app>
>
> ==============
>
> Has anybody an idea what I am doing wrong here?
>
> Thanks
> Bernhard
> --------------------------------------------------------------
> ----------
> ------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/jrun_tal
k
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to