G. Allegri ha scritto:
Thanks David.
It's probably wise not to modify the xml files directly. The web
interface
lets you configure the information being exposed under the 'data'
section.
I know I have to be careful in modifying the files, but I would like to have a more fine grained then what permitted from the web interface: set queryable layers, nillable, etc (I'm used to the METADATA tags in Mapserver mapfiles).If it's all controllable from the web interface... I haven't discovered how yet 
Anyway, do these files exist, or is this low-level control serialized in non human-readable formats?
The control you're looking for simply does not exist, code would have
to be developed in order to provide it.
About the second question, I make a scenario: I have a user that will access wfs-t from a client (gvSIG i.e.). I want him to be autheticated with username and password, which is mapped to ROLE_X, which is enabled to do Insert and Update but not Delete on a specific layer (only one beneath all the WFS layers). Is it possible to manage such a fine grained context?
HTTP basic authentication is possible, but not control on the sigle
transaction elements. At the moment the services.properties file
allows you to control which service.method each role is allowed to
access, for example:
wfs.transaction=WFS_UPDATER
but that's it. It applies to all layers (no per feature type control)
and does not consider transaction sub-elements.
The current security system was developed as a proof of concept
and it has been kept as is because of lack of funding (and because it's
anyways better than the nothing 1.5.x had).
Hopefully in the next few months we'll get sponsoring to have per
layer control but it will be generic read/write control, not operation
oriented one.
There are OGC security proxies around that might allow more fine grained
control than what geoserver provides out of the box, there is one
from DeeGree and one from 52north. I've never tried to use them
but they may provide what you're looking for.
Cheers
Andrea