Though it sounds like what you're asking for is a bit different, many
people want different admin privileges, it sounds like you're just
asking for per user.
Actually, I'd prefer to assign access control by roles, not users. So
basically you couldn't even look at the stuff associated with an sld if
you weren't a member of that role.
You could likely do it with SLD I suppose. You can bind slds to urls
completely outside of GeoServer, and then use the SLD= param to refer to
the url location.
Like one does in Minn mapserver with 'map=param'
the problem with that would be that when that style is used and
GeoServer is the one doing the requests, it won't have the user
information.
chicken and egg...(and remember, chickens are an egg's way to get
around...
If you tried to access a particular sld, and it were bound
to a realm, you would be challenged for credentials, and RFC 2617 or
something would kick in.
If you can match patterns then you could match it based on
including that URL in the request url, or the named styles.
I'm thinking you might have to so something crude like make a separate
Tomcat context for each sld ... something like:
/geoserver/sld1/
/geoserver/sld2/
/geoserver/sld3/
etc, and map each using realm auth, as per:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html . Now, each of
these web.xml configs would all use the same class in their
servlet-config, only now the servlet would start paying attention to this
new "sld=param' item.
Are you using the same client for things? If so I might just put the
logic there, with it using different slds.
clients can be easily hacked...I definitely want the RFC2617 'digest'
stuff to kick in....
Note that we do have a powerful security subsystem that could support
most any of this, but it hasn't really been hooked up.
Is this on the wiki? tell me/point me at more!
Chris