Hi all,
I'm having trouble setting up layer level security in Geoserver 1.6.4.
Specifically, I can get to everything, no matter what I setup in the
properties files. The contents of my users.properties file is:
admin_user=admin_password,ROLE_ADMINISTRATOR
user=user_password,ROLE_USER
And layers.properties contains:
*.*.r=ROLE_ADMINISTRATOR
*.*.w=ROLE_ADMINISTRATOR
namespace_prefix.feature_type_a.r=ROLE_ADMINISTRATOR
namespace_prefix.feature_type_a.w=ROLE_ADMINISTRATOR
namespace_prefix.feature_type_b.r=ROLE_USER
namespace_prefix.feature_type_b.w=ROLE_ADMINISTRATOR
mode=HIDE
The problem is that unauthenticated users and the "user" user can see
and query both namespace_prefix:feature_type_a and
namespace_prefix:feature_type_b. Am I missing something?
Many thanks,
Mark Lidstone
Tel: +44 (0)23 80232222; Fax: +44 (0)23 80232891
BMT Cordah Ltd
Grove House
7 Ocean Way
Ocean Village
Southampton
SO14 3TJ
BMT Cordah Ltd.
A member of the BMT group of companies
Registered Office: Investment House, 6 Union Row, Aberdeen AB10 1DQ
Registered in Scotland No. 163413
http://www.bmtcordah.com/
http://www.bmt.org/
The contents of this e-mail and any attachments are intended only for the use of the e-mail addressee(s) shown. If you are not that person, or one of those persons, you are not allowed to take any action based upon it or to copy it, forward, distribute or disclose the contents of it and you should please delete it from your system. BMT Cordah Limited does not accept liability for any errors or omissions in the context of this e-mail or its attachments, which arise as a result of Internet transmission, nor accept liability for statements which are those of the author and not clearly made on behalf of BMT Cordah Limited.