Authentication in Geoserver 2.4.x from a web application

المشرف العام

Administrator
طاقم الإدارة
I am trying to build a web application using html and javascript from which I want to login to geoserver hosted at: https://weaveprod.ucdp.utah.edu/geoserver/web/I have written the following code for authentication using javascript.But it is always giving login failed.Kindly help me out.

HTML code:Untitled Document Username: Password: Keep me logged in

Javascript code:function login (options) {// url del servlet del geoservervar url = options.server;// parametros para el loginparams = "username=" + options["user"] + "&password=" + options["password"];var contentType = "application/x-www-form-urlencoded";//se inicializa la petici

أكثر...
 
أعلى