Hi All,
After what we saw and discussed at FOSS4G, we are considering using
GeoServer as our one-point stop for geo services. We are currently
developing a PHP/Java (leaning more towards Java as it evolves)
information system in which a OpenLayers (previously Pmapper) map is
displayed in an iframe. Our application currently handles
authentication and authorization for the general information it manages,
but we currently have no way of managing auth/auth on map layers (what
group/roles can view or edit map layers etc.). Now, we do not want to
add map layer auth/auth to our application. Rather, we want to use a
service to do that, whence our need to use external pieces of software
for auth/auth.
We are at the point of considering how to create a Java mapping service
that would serve as middleware between OL and GeoServer. What we
envisage at this point is to send a request that includes some token
from our application to that middleware. Using that token, the
middleware would :
1) fetch map layers from GeoServer
2) determine what the user is allowed to do for each layer (read or
edit, for example, as a function of some configuraton file) and generate
a complete html file accordingly (i.e. with all the required OpenLayers
JavaScript including all buttons and OL controls).
Did someone in the GeoServer community ever have to deal with such
issues ? Does the GeoServer project have plans regarding auth/auth ? We
think that using a CAS server would be an appropriate way to go about
managing the token/ticket. We haven't played yet with CAS or OpenLDAP
so we are seeking directions or pointers as to how to go about this.
The CAS web site currently has lots of 404 on the docs hyperlink so any
pointer showing use of an SSO solution with GeoServer would be greatly
appreciated. We are willing to contribute our code to the community on
this or to collaborate on an ongoing activity.
Cheers,
Yves Moisan for the Borealis team.