Hi All,

I am trying to figure our how to implement the Spring Security in Geoserver for 
WMS/WFS services but I can't seem to find any examples other than some are 
using this code in their OpenLayers code:

 OpenLayers.Request.issue({
        method : "POST",
        url: " 
http://localhost:8080/geoserver/security/j_spring_security_check";,
        headers : { Authorization : "Basic wokdokdoqkdokqod" },
        params: {
                         username: "admin",
                         password: "geoserver"
                 }
                
    });
 
 Does any one can point me to examples or tutorials that can help me figure out 
how to implement  this Authentication method.

Thanks!

Otto Krauth

On 2012-11-20, at 4:02 PM, Ivan Willig wrote:

> Never mind.. solved it. 
> 
> 
> On Tue, Nov 20, 2012 at 4:59 PM, Ivan Willig <[email protected]> wrote:
> Hi list, 
> 
> I am trying to use the geoserver rest api to update an layerobject info. I am 
> using GeoServer 2.2.1 on OpenJDK 1.7. 
> 
> I get this xstream exception, https://gist.github.com/4121489
> 
> To reproduce this error please use this gist https://gist.github.com/4121471 
> and the following curl command on the default GeoServer data dir. 
> 
> curl -v -H "Content-Type: application/json" -X PUT --data "@states.json" -u 
> admin:geoserver http://localhost:8080/geoserver/rest/layers/states
> 
> I figure that either I am doing something wrong or there is an issue in the 
> xstream json converter. 
> 
> Thanks. 
> 
> -- 
> Ivan Willig
> OpenGeo - http://opengeo.org
> 
> 
> 
> 
> 
> -- 
> Ivan Willig
> OpenGeo - http://opengeo.org
> 
> 
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to