[Geoserver-users] Problems security module?

2015-06-09 Thread pablo zader
Hi list

Strange behavior:

1 - Create a user (UserAdmin) with Administrator role.
2 - use this user to work with the curl command
3 -  after a time I change the user password assigned UserAdmin, through
the graphical interface of geoserver
4 - continue using the curl command with the new key
5 - reboot the server (linux)
6 - stopped working the curl command because the user UserAdmin but did
not recognize the new key, then try entering the old password and to my
surprise, it worked! that is, the key change not impact the geoserver.
7 - turned to restart linux, try again with the new password and now if it
worked.
Apparently, the key change no impact at first, but after two restarts, yes!

I am using:
geoserver 2.5.2
Apache Tomcat / 7.0.53
Ubuntu Linux 12.04LTS

This is my script to start and stop tomcat:

#! /bin/sh
### BEGIN INIT INFO
# Provides: tomcat-apache
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start tomcat apache
### END INIT INFO

case $1 in
  start)
echo Starting Tomcat7...
export GEOSERVER_DATA_DIR=/usr/local/geoserver_data
/usr/local/tomcat7/bin/startup.sh
;;
  stop)
echo Stopping Tomcat7...
/usr/local/tomcat7/bin/shutdown.sh
;;
esac

exit 0

Thanks in advanced

Pablo



-- 
*Pablo J. Zader*
*Lic. en Cs. de la Computación*
*pablo.za...@gmail.com pablo.za...@gmail.com*





*Los Grandes Hombres hablan sobre ideas... Los Hombres Promedio hablan
sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
*del libro Matemática estas ahi? A. Paenza *
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver 2.7 publish style

2015-06-09 Thread Bessette-Halsema, Dominique E
I did and it does.  I can validate and submit it through the geoserver console.



Dominique Bessette

Software Engineer

General Dynamics Information Technology

Office: 619-881-2748



From: Jody Garnett [mailto:jody.garn...@gmail.com]
Sent: Tuesday, June 09, 2015 3:26 PM
To: Bessette-Halsema, Dominique E
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] geoserver 2.7 publish style



Can you try your style in the style editor and confirm it validates?




--

Jody Garnett



On 5 June 2015 at 10:31, Bessette-Halsema, Dominique E 
dominique.besse...@gdit.commailto:dominique.besse...@gdit.com wrote:

I’m trying to publish a style to geoserver 2.7 via the GeoServerRESTPublisher 
class.



If I use the publishStyle(File file) API or the publishStyle(String sldBody) I 
get the following error





17:19:55,192 ERROR [stderr] (http-/0.0.0.0:8080-1) [Fatal Error] :1:1: Content 
is not allowed in prolog.

17:19:55,193 ERROR [org.geoserver.rest] (http-/0.0.0.0:8080-1) : 
java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; 
columnNumber: 1; Content is not allowed in prolog.

at org.geotools.styling.SLDParser.parseSLD(SLDParser.java:438) 
[gt-main-13.1.jar:]

at org.geoserver.catalog.SLDHandler.parse10(SLDHandler.java:105) 
[gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

   at org.geoserver.catalog.SLDHandler.parse(SLDHandler.java:97) 
[gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

at org.geoserver.catalog.rest.StyleFormat.read(StyleFormat.java:91) 
[gs-restconfig-2.7.1.jar:2.7.1]

at 
org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:34) 
[gs-rest-2.7.1.jar:2.7.1]

at 
org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:118) 
[gs-rest-2.7.1.jar:2.7.1]

…



The style xml is below.  I formatted it in this email but usually its one long 
string.  I’ve tried trimming for whitespace, removing the encoding, and some 
other validation checks I’ve found online.  I was wondering if anything stands 
out.



?xml version=1.0 encoding=UTF-8?

sld:StyledLayerDescriptor xmlns=http://www.opengis.net/sld; 
xmlns:sld=http://www.opengis.net/sld; xmlns:ogc=http://www.opengis.net/ogc; 
xmlns:gml=http://www.opengis.net/gml; version=1.0.0

  sld:NamedLayer

sld:Namenrdb_threshold_132/sld:Name

sld:UserStyle

  sld:Namesurface air temperature/sld:Name

  sld:FeatureTypeStyle

sld:Namenrdb_threshold_132/sld:Name

sld:FeatureTypeNameFeature/sld:FeatureTypeName

sld:Rule

  sld:RasterSymbolizer

sld:ColorMap type=intervals

  sld:ColorMapEntry color=#00 opacity=0.0 
quantity=244.160893 label=244.160893/

  sld:ColorMapEntry color=#008000 opacity=1.0 
quantity=283.789 label=283.789/

/sld:ColorMap

  /sld:RasterSymbolizer

/sld:Rule

  /sld:FeatureTypeStyle

/sld:UserStyle

  /sld:NamedLayer

/sld:StyledLayerDescriptor




--

___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.netmailto:Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver 2.7 publish style

2015-06-09 Thread Jody Garnett
Can you try your style in the style editor and confirm it validates?

--
Jody Garnett

On 5 June 2015 at 10:31, Bessette-Halsema, Dominique E 
dominique.besse...@gdit.com wrote:

  I’m trying to publish a style to geoserver 2.7 via the
 GeoServerRESTPublisher class.



 If I use the publishStyle(File file) API or the publishStyle(String
 sldBody) I get the following error





 17:19:55,192 ERROR [stderr] (http-/0.0.0.0:8080-1) [Fatal Error] :1:1:
 Content is not allowed in prolog.

 17:19:55,193 ERROR [org.geoserver.rest] (http-/0.0.0.0:8080-1) :
 java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1;
 columnNumber: 1; Content is not allowed in prolog.

 at org.geotools.styling.SLDParser.parseSLD(SLDParser.java:438)
 [gt-main-13.1.jar:]

 at org.geoserver.catalog.SLDHandler.parse10(SLDHandler.java:105)
 [gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

at org.geoserver.catalog.SLDHandler.parse(SLDHandler.java:97)
 [gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

 at org.geoserver.catalog.rest.StyleFormat.read(StyleFormat.java:91)
 [gs-restconfig-2.7.1.jar:2.7.1]

 at
 org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:34)
 [gs-rest-2.7.1.jar:2.7.1]

 at
 org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:118)
 [gs-rest-2.7.1.jar:2.7.1]

 …



 The style xml is below.  I formatted it in this email but usually its one
 long string.  I’ve tried trimming for whitespace, removing the encoding,
 and some other validation checks I’ve found online.  I was wondering if
 anything stands out.



 ?xml version=1.0 encoding=UTF-8?

 sld:StyledLayerDescriptor xmlns=http://www.opengis.net/sld; xmlns:sld=
 http://www.opengis.net/sld; xmlns:ogc=http://www.opengis.net/ogc;
 xmlns:gml=http://www.opengis.net/gml; version=1.0.0

   sld:NamedLayer

 sld:Namenrdb_threshold_132/sld:Name

 sld:UserStyle

   sld:Namesurface air temperature/sld:Name

   sld:FeatureTypeStyle

 sld:Namenrdb_threshold_132/sld:Name

 sld:FeatureTypeNameFeature/sld:FeatureTypeName

 sld:Rule

   sld:RasterSymbolizer

 sld:ColorMap type=intervals

   sld:ColorMapEntry color=#00 opacity=0.0
 quantity=244.160893 label=244.160893/

   sld:ColorMapEntry color=#008000 opacity=1.0
 quantity=283.789 label=283.789/

 /sld:ColorMap

   /sld:RasterSymbolizer

 /sld:Rule

   /sld:FeatureTypeStyle

 /sld:UserStyle

   /sld:NamedLayer

 /sld:StyledLayerDescriptor




 --

 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problems in Layer Preview

2015-06-09 Thread Marco Colasurdo
Hi all,
I'm using GeoServer 2.6.0, and I've correctly published a 3-band raster, on
which I have applied a style with coninuous values to view only the first
band.
The problem is that when I open the Layer Preview, I see the raster with
only one color, but zooming I'm able to see the correct style with all
colors that I've applied.
Does anyone knows why?

Geoserver version : 2.6.0

SLD used is:
?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0 xsi:schemaLocation=
http://www.opengis.net/sld StyledLayerDescriptor.xsd xmlns=
http://www.opengis.net/sld;; xmlns:ogc=http://www.opengis.net/ogc;;
xmlns:xlink=http://www.w3.org/1999/xlink;; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;;
  NamedLayer
Name Name /Name
UserStyle
  Title Title /Title
  FeatureTypeStyle
Rule
  RasterSymbolizer
ChannelSelection
GrayChannel
SourceChannelName1/SourceChannelName
/GrayChannel
/ChannelSelection
ColorMap
  ColorMapEntry color=#00 quantity=- opacity=0.0
label=No data/
  ColorMapEntry color=#FFBEFF quantity=0 label=0/
  ColorMapEntry color=#FF96FF quantity=0.0285714 label=/
  ColorMapEntry color=#FF64FF quantity=0.0571429 label=/
  ColorMapEntry color=#FF00FF quantity=0.0857143 label=/
  ColorMapEntry color=#E100FF quantity=0.114286 label=/
  ColorMapEntry color=#BE00FF quantity=0.142857 label=/
  ColorMapEntry color=#9600FF quantity=0.171429 label=/
  ColorMapEntry color=#6E00FF quantity=0.2 label=20/
  ColorMapEntry color=#4600FF quantity=0.228571 label=/
  ColorMapEntry color=#FF quantity=0.257143 label=/
  ColorMapEntry color=#0032FF quantity=0.285714 label=/
  ColorMapEntry color=#0064FF quantity=0.314286 label=/
  ColorMapEntry color=#0096FF quantity=0.342857 label=/
  ColorMapEntry color=#00AFFF quantity=0.371429 label=/
  ColorMapEntry color=#00C8FF quantity=0.4 label=40/
  ColorMapEntry color=#00E3FF quantity=0.428571 label=/
  ColorMapEntry color=#00 quantity=0.457143 label=/
  ColorMapEntry color=#00FFC8 quantity=0.485714 label=/
  ColorMapEntry color=#00FF96 quantity=0.514286 label=/
  ColorMapEntry color=#00FF64 quantity=0.542857 label=/
  ColorMapEntry color=#00FF00 quantity=0.571429 label=/
  ColorMapEntry color=#64FF00 quantity=0.6 label=60/
  ColorMapEntry color=#96FF00 quantity=0.628571 label=/
  ColorMapEntry color=#C8FF00 quantity=0.657143 label=/
  ColorMapEntry color=#EBFF00 quantity=0.685714 label=/
  ColorMapEntry color=#00 quantity=0.714286 label=/
  ColorMapEntry color=#FFDC00 quantity=0.742857 label=/
  ColorMapEntry color=#FFBE00 quantity=0.771429 label=/
  ColorMapEntry color=#FFAA00 quantity=0.8 label=80/
  ColorMapEntry color=#FF9600 quantity=0.828571 label=/
  ColorMapEntry color=#FF7D00 quantity=0.857143 label=/
  ColorMapEntry color=#FF6400 quantity=0.885714 label=/
  ColorMapEntry color=#FF4100 quantity=0.914286 label=/
  ColorMapEntry color=#FF quantity=0.942857 label=/
  ColorMapEntry color=#EB quantity=0.971429 label=/
  ColorMapEntry color=#D9 quantity=1 label=100/
/ColorMap
  /RasterSymbolizer
/Rule
  /FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor

Gdalinfo output:

Size is 831, 698
Coordinate System is:
GEOGCS[ETRS89,
DATUM[European_Terrestrial_Reference_System_1989,
SPHEROID[GRS 1980,6378137,298.2572221010002,
AUTHORITY[EPSG,7019]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[EPSG,6258]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4258]]
Origin = (-17.000,80.000)
Pixel Size = (0.067388688327316,-0.067335243553009)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  ( -17.000,  80.000) ( 17d 0' 0.00W, 80d 0' 0.00N)
Lower Left  ( -17.000,  33.000) ( 17d 0' 0.00W, 33d 0' 0.00N)
Upper Right (  39.000,  80.000) ( 39d 0' 0.00E, 80d 0' 0.00N)
Lower Right (  39.000,  33.000) ( 39d 0' 0.00E, 33d 0' 0.00N)
Center  (  11.000,  56.500) ( 11d 0' 0.00E, 56d30' 0.00N)
Band 1 Block=831x1 Type=Float32, ColorInterp=Gray
  Min=0.000 Max=0.950
  Minimum=0.000, Maximum=0.950, Mean=0.389, StdDev=0.214
  NoData Value=-
  Metadata:
STATISTICS_MAXIMUM=0.9498807907
STATISTICS_MEAN=0.38901697872035
STATISTICS_MINIMUM=0
STATISTICS_STDDEV=0.21422942111317
Band 2 Block=831x1 Type=Float32, ColorInterp=Undefined
  Min=20.000 Max=372.000
  

[Geoserver-users] ImageMosaic wrong reprojection of custom coordinate systems

2015-06-09 Thread Maciej Filocha
Hello,

I'm trying to reproject on-the-fly some geotiffs from custom coordinate 
system, defined in epsg.properties file to the EPSG:4326. I can do 
that for single image, defined in a GeoTIFF store, however the same 
image, imported by ImageMosaic store can't be displayed properly.

Apparently, ImageMosaic doesn't make right reprojection - image is 
displayed in original coordinates (or throws a Dimensions (width=87581 
height=87595) are too large error, depending on the original CRS - 
rotated pole degrees or meters).

More setup details:
CRS settings: Force declared (from EPSG:404000 to custom, eg. EPSG:100102)

100102=PROJCS[WRF Lambert,GEOGCS[WGS 84,DATUM[World Geodetic System 
1984,SPHEROID[WGS 
84,6378137.0,298.257223563,AUTHORITY[EPSG,7030]],AUTHORITY[EPSG,6326]],PRIMEM[Greenw
ich,0.0,AUTHORITY[EPSG,8901]],UNIT[degree,0.017453292519943295],AXIS[Geodetic
 
longitude,EAST],AXIS[Geodetic 
latitude,NORTH],AUTHORITY[EPSG,4326]],PROJECTION[Lambert_Confor
mal_Conic_2SP],PARAMETER[central_meridian,18.20199966430664],PARAMETER[latitude_of_origin,54.13700866699219],PARAMETER[standard_parallel_1,30.0],PARAMETER[false_easting,0.0],PARA
METER[false_northing,0.0],PARAMETER[standard_parallel_2,60.0],UNIT[m,1.0],AXIS[Easting,EAST],AXIS[Northing,NORTH]]

ImageMosaic boundaries handled by PostGis store.

Below I'm attaching appropriate parts of the log file - same request, 
two different storage.


Regards

Maciej


**
GeoTIFF store:
**

2015-06-09 12:27:19,247 INFO [org.geoserver.wms] -
Request: getMap
 Tiled = false
 Width = 2048
 Height = 2048
 Layers = [org.geoserver.wms.MapLayerInfo@aeb606aa]
 Crs = GEOGCS[WGS 84,
   DATUM[World Geodetic System 1984,
 SPHEROID[WGS 84, 6378137.0, 298.257223563, AUTHORITY[EPSG,7030]],
 AUTHORITY[EPSG,6326]],
   PRIMEM[Greenwich, 0.0, AUTHORITY[EPSG,8901]],
   UNIT[degree, 0.017453292519943295],
   AXIS[Geodetic longitude, EAST],
   AXIS[Geodetic latitude, NORTH],
   AUTHORITY[EPSG,4326]]
 Bbox = SRSEnvelope[-16.50941800460898 : 62.99640914526753, 
31.87980262617571 : 64.40683143260988]
 RemoteOwsType = null
 RemoteOwsURL = null
 Env = {}
 FormatOptions = {AUTOFIT=true, KMATTR=true, KMPLACEMARK=false, 
KMSCORE=40, MODE=refresh, SUPEROVERLAY=false}
 Angle = 0.0
 CQLFilter = null
 Elevation = []
 FeatureId = null
 StartIndex = null
 ViewParams = null
 MaxFeatures = null
 Palette = null
 FeatureVersion = null
 SRS = EPSG:4326
 Styles = [StyleImpl[ name=temperatura_barn1]]
 BgColor = java.awt.Color[r=255,g=255,b=255]
 Transparent = false
 StyleFormat = sld
 SldBody = null
 Interpolations = []
 ValidateSchema = false
 Sld = null
 StyleUrl = null
 TilesOrigin = null
 Exceptions = SE_XML
 StyleBody = null
 SldVersion = null
 StyleVersion = null
 ScaleMethod = null
 Format = application/vnd.google-earth.kml xml
 Time = []
 Filter = null
 Buffer = 0
 Filters = null
 Get = true
 RawKvp = {TRANSPARENT=false, 
BBOX=-16.50941800460898,31.87980262617571,62.99640914526753,64.40683143260988, 
VERSION=1.1.1, FORMAT=application/vnd.google-earth.kml xml, 
FORMAT_OPTIONS=AUTOFIT:true;KMATTR:true;KMPLACEMARK:false;KMSCORE:40;MODE:refresh;SUPEROVERLAY:false,
 
SERVICE=wms, HEIGHT=2048, REQUEST=GetMap, 
LAYERS=um:wrf_d02_T2_201504040600_005, STYLES=temperatura_barn1, 
WIDTH=2048, SRS=EPSG:4326}
 BaseUrl = http://geo.nebula.grid.icm.edu.pl:8080/geoserver/
 RequestCharset = UTF-8
 Version = 1.1.1
 Request = GetMap
2015-06-09 12:27:19,307 INFO [org.geoserver.wms] -
Request: getServiceInfo
2015-06-09 12:27:19,308 DEBUG [org.geotools.util] - CRSConverterFactory 
can be applied from Strings to CRS  only.
2015-06-09 12:27:19,308 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to 
Interpolation  only.
2015-06-09 12:27:19,308 DEBUG [org.geotools.util] - CRSConverterFactory 
can be applied from Strings to CRS  only.
2015-06-09 12:27:19,308 DEBUG [org.geotools.util] - 
InterpolationConverterFactory can be applied from Strings to 
Interpolation  only.
2015-06-09 12:27:19,310 TRACE [org.geotools.factory] - ENTRY 
(GridCoverageFactory)
2015-06-09 12:27:19,310 TRACE [org.geotools.factory] - RETURN 
(GridCoverageFactory): found implementation GridCoverageFactory.
2015-06-09 12:27:19,311 DEBUG 
[org.geotools.renderer.lite.gridcoverage2d] - Rendering using 
interpolation javax.media.jai.InterpolationNearest@9704ee
2015-06-09 12:27:19,311 DEBUG 
[org.geotools.renderer.lite.gridcoverage2d] - Rendering using 
interpolation javax.media.jai.InterpolationNearest@9704ee
2015-06-09 12:27:19,311 DEBUG 
[org.geotools.renderer.lite.gridcoverage2d] - Rendering using 
interpolation 

Re: [Geoserver-users] geoserver 2.7 publish style

2015-06-09 Thread Andrea Aime
HI Dominique,
do you have by any chance request logging enabled in web.xml (it is not by
default, just checking if you did enabled it)?
If so, does your request work if you turn it off?

Cheers
Andrea

On Fri, Jun 5, 2015 at 7:31 PM, Bessette-Halsema, Dominique E 
dominique.besse...@gdit.com wrote:

  I’m trying to publish a style to geoserver 2.7 via the
 GeoServerRESTPublisher class.



 If I use the publishStyle(File file) API or the publishStyle(String
 sldBody) I get the following error





 17:19:55,192 ERROR [stderr] (http-/0.0.0.0:8080-1) [Fatal Error] :1:1:
 Content is not allowed in prolog.

 17:19:55,193 ERROR [org.geoserver.rest] (http-/0.0.0.0:8080-1) :
 java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1;
 columnNumber: 1; Content is not allowed in prolog.

 at org.geotools.styling.SLDParser.parseSLD(SLDParser.java:438)
 [gt-main-13.1.jar:]

 at org.geoserver.catalog.SLDHandler.parse10(SLDHandler.java:105)
 [gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

at org.geoserver.catalog.SLDHandler.parse(SLDHandler.java:97)
 [gs-main-2.7.1-nn-1.jar:2.7.1-nn-1]

 at org.geoserver.catalog.rest.StyleFormat.read(StyleFormat.java:91)
 [gs-restconfig-2.7.1.jar:2.7.1]

 at
 org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:34)
 [gs-rest-2.7.1.jar:2.7.1]

 at
 org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:118)
 [gs-rest-2.7.1.jar:2.7.1]

 …



 The style xml is below.  I formatted it in this email but usually its one
 long string.  I’ve tried trimming for whitespace, removing the encoding,
 and some other validation checks I’ve found online.  I was wondering if
 anything stands out.



 ?xml version=1.0 encoding=UTF-8?

 sld:StyledLayerDescriptor xmlns=http://www.opengis.net/sld; xmlns:sld=
 http://www.opengis.net/sld; xmlns:ogc=http://www.opengis.net/ogc;
 xmlns:gml=http://www.opengis.net/gml; version=1.0.0

   sld:NamedLayer

 sld:Namenrdb_threshold_132/sld:Name

 sld:UserStyle

   sld:Namesurface air temperature/sld:Name

   sld:FeatureTypeStyle

 sld:Namenrdb_threshold_132/sld:Name

 sld:FeatureTypeNameFeature/sld:FeatureTypeName

 sld:Rule

   sld:RasterSymbolizer

 sld:ColorMap type=intervals

   sld:ColorMapEntry color=#00 opacity=0.0
 quantity=244.160893 label=244.160893/

   sld:ColorMapEntry color=#008000 opacity=1.0
 quantity=283.789 label=283.789/

 /sld:ColorMap

   /sld:RasterSymbolizer

 /sld:Rule

   /sld:FeatureTypeStyle

 /sld:UserStyle

   /sld:NamedLayer

 /sld:StyledLayerDescriptor




 --

 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.


Re: [Geoserver-users] Problems security module?

2015-06-09 Thread Christian Mueller
Hi Pablo

Can you reproduce this scenario ?.  GeoSever has a cache for stateless
authentication,  but after a restart of GeoServer the new password should
work.

Cheers
Christian

On Tue, Jun 9, 2015 at 6:47 PM, pablo zader pza...@gmail.com wrote:

 Hi list

 Strange behavior:

 1 - Create a user (UserAdmin) with Administrator role.
 2 - use this user to work with the curl command
 3 -  after a time I change the user password assigned UserAdmin, through
 the graphical interface of geoserver
 4 - continue using the curl command with the new key
 5 - reboot the server (linux)
 6 - stopped working the curl command because the user UserAdmin but did
 not recognize the new key, then try entering the old password and to my
 surprise, it worked! that is, the key change not impact the geoserver.
 7 - turned to restart linux, try again with the new password and now if it
 worked.
 Apparently, the key change no impact at first, but after two restarts, yes!

 I am using:
 geoserver 2.5.2
 Apache Tomcat / 7.0.53
 Ubuntu Linux 12.04LTS

 This is my script to start and stop tomcat:

 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides: tomcat-apache
 # Required-Start: $remote_fs $syslog
 # Required-Stop: $remote_fs $syslog
 # Default-Start: 2 3 4 5
 # Default-Stop: 0 1 6
 # Short-Description: Start tomcat apache
 ### END INIT INFO

 case $1 in
   start)
 echo Starting Tomcat7...
 export GEOSERVER_DATA_DIR=/usr/local/geoserver_data
 /usr/local/tomcat7/bin/startup.sh
 ;;
   stop)
 echo Stopping Tomcat7...
 /usr/local/tomcat7/bin/shutdown.sh
 ;;
 esac

 exit 0

 Thanks in advanced

 Pablo



 --
 *Pablo J. Zader*
 *Lic. en Cs. de la Computación*
 *pablo.za...@gmail.com pablo.za...@gmail.com*





 *Los Grandes Hombres hablan sobre ideas... Los Hombres Promedio hablan
 sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
 *del libro Matemática estas ahi? A. Paenza *


 --

 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users