[Geoserver-devel] Failure to upgrade GeoServer due to new security subsystem

Hi,
I’ve just stumbled into this one:
http://jira.codehaus.org/browse/GEOS-5259

The upgrade process of the users.properties will be abruptly interrupted because
the new system cannot handle usernames that were previously valid, and GeoServer
will fail to startup.

How do we handle this so late in the game? Can we solve it by simply changing the
XSD?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549

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


Hmmm… indeed, i think we should change the XSD to be more lax… i cant think of any reason to restrict usernames in this way.

On Wed, Aug 8, 2012 at 6:31 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
I’ve just stumbled into this one:
http://jira.codehaus.org/browse/GEOS-5259

The upgrade process of the users.properties will be abruptly interrupted because
the new system cannot handle usernames that were previously valid, and GeoServer
will fail to startup.

How do we handle this so late in the game? Can we solve it by simply changing the
XSD?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549

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



Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

The idea was to work with XML IDs to prevent duplicate user names. I will change the data type to “string” and test.

2012/8/8 Justin Deoliveira <jdeolive@anonymised.com>

Hmmm… indeed, i think we should change the XSD to be more lax… i cant think of any reason to restrict usernames in this way.

On Wed, Aug 8, 2012 at 6:31 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
I’ve just stumbled into this one:
http://jira.codehaus.org/browse/GEOS-5259

The upgrade process of the users.properties will be abruptly interrupted because
the new system cannot handle usernames that were previously valid, and GeoServer
will fail to startup.

How do we handle this so late in the game? Can we solve it by simply changing the
XSD?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549

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



Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


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


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Wed, Aug 8, 2012 at 4:22 PM, Christian Mueller <mcrmcr21@anonymised.com> wrote:

The idea was to work with XML IDs to prevent duplicate user names. I will change the data type to “string” and test.

Mumble… is there any way to ask for uniqueness without getting NCName in the picture?
It seems so, see here:

http://www.learn-xml-schema-tutorial.com/XML-Schema-Keys.cfm

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549

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


Brilliant idea, I will try this feature.

2012/8/8 Andrea Aime <andrea.aime@anonymised.com>

On Wed, Aug 8, 2012 at 4:22 PM, Christian Mueller <mcrmcr21@anonymised.com> wrote:

The idea was to work with XML IDs to prevent duplicate user names. I will change the data type to “string” and test.

Mumble… is there any way to ask for uniqueness without getting NCName in the picture?
It seems so, see here:

http://www.learn-xml-schema-tutorial.com/XML-Schema-Keys.cfm

Cheers

Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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 962313
mob: +39 339 8844549

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