Re: [Geoserver-devel] proposal: Layer with Service Security

2015-01-28 Thread Niels Charlier

the reasoning is
1/ Redesigning security from start is an exercise that has already been 
done. Geofence is a more advanced and flexible security system.
It would indeed make no sense to redesign the default security to bring 
it to the same level.
2/ The design is therefore not completely reversed. There is full 
backwards compatibility. Service and data security continues to exist.

There is only an optional added feature.
3/ The core idea was to expand on data security. Just as you can specify 
per layer whether you can read and/or write to it, you can also specify 
per layer which services can be used on it. The fact that it remains to 
be primarily data security means that data and services are not treated 
as orthogonal but services are considered a further specificity of the 
rules here: in principle there is service security on a per layer basis. 
(This compromise is a consequence of it being expansion rather than 
redesign).
4/ Further to that, I proposed an increased flexibility in the use of 
wildcards. It is possible to allow wildcards followed by non-wildcards 
but continue the hierarchical implementation and semantics that exists 
now. A wildcard means everything that has not been specified in another 
rule, but it must be read and interpreted from left to right with left 
specificity having higher priority. This makes it possible to specify 
service security on workspaces; in which case the wildcard in the layer 
part means that that rule applies to all layers of the workspace for 
which there is no specific rule.


Andrea objected mostly against point (4), although his argumentation 
appeared to me to apply more against point (3).


Regards
Niels

On 28-01-15 09:25, Andrea Aime wrote:
On Wed, Jan 28, 2015 at 2:44 AM, Jody Garnett 
jgarn...@boundlessgeo.com mailto:jgarn...@boundlessgeo.com wrote:


Thanks for the context Andrea.

So if I understand the proposal we are looking for a way to
reverse that design decision.


It looks that way, with the requirement that Niels added during the 
conversation (control

services at the workspace level).

But if backwards compatibility is broken, we might as well fast track 
a geofence integration,
as it would not be a slight chance, it would be a downright rewrite, 
require a migration
path, and a rewrite of the docs (as such, something scheduled for 
2.8.x only, Niels
insisting on the notion of small changes makes me think he's looking 
for a solution
that could be backported, but maybe he just want one that requires 
less work).


Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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.



---


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought

Re: [Geoserver-devel] Use my database to allow access to geoserver

2015-01-28 Thread Mauro Bartolomeoli
Hi Romulo,
I think I understood what you are asking for.

To add a new authentication provider to GeoServer, you need to create and
register several classes in the system, the most important one is the
security provider. This class extends GeoServerSecurityProvider and is
responsible to create other security classes on demand (for example
the TesteAuthenticationProvider
you developed). It's also responsible for enabling configuration
serialization (using XStream) for the new provider.

That said, creating a new security module and configuring it properly is
not trivial. These are some of the actions that need to be done:
 - create a new GeoServerSecurityProvider implementation and register it as
a bean in the Spring application context.
 - make the GeoServerSecurityProvider implementation return you
authentication provider
 - create and use configuration objects for your new security provider
 - create a web wicket module to allow configuration from the GeoServer WEB
Admin UI

You can find some example of this in the gs-sec-jdbc and gs-sec-ldap
modules (and the related gs-web-sec-jdbc and gs-web-sec-ldap web modules).

Finally, if your only purpose is to make GeoServer work with an existing
user database for authentication, it could be simpler to use JDBC usergroup
service, that already allows you to do this, without writing code, but only
preparing some xml files to extract data from your database.

Regards,
Mauro

2015-01-28 12:12 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Hello Mauro,
 I tried this:
 1- I created the TesteAuthenticationProvider class that is a copy of
 UsernamePasswordAuthenticationProvider.
 2- In applicationSecurityContext.xml file added the following line bean
 id = testeAuthenticationProvider class =
 com.romulo.geoserver.TesteAuthenticationProvider /
 3- I added testeAuthenticationProvider = Authentication Provider Test in
 GeoServerApplication.properties file

 In GeoServer web interface:
 1- In Authentication Filters, added a new record with J2EE Role source
 J2EE default
 2- to Filter Chain, I clicked on default
 3 - In Chain Filter added Authentication Provider Test and removed
 basic and clicked close
 4- I saved all


 I put a breakpoint in TesteAuthenticationProvider class but never reaches
 it.
 With this configuration, I realized that the breakpoint in class
 UsernamePasswordAuthenticationProvider not work anymore.

 Can you tell me what I did wrong?

 Thanks for your help.

 2015-01-28 6:51 GMT-02:00 Mauro Bartolomeoli 
 mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 as for REST, you can use filter chains to enable authentication providers
 on OGC service (WMS, WFS, etc.).
 The chain to use is the default one.

 Mauro

 2015-01-27 18:57 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Thanks for the reply.
  I'm from Brazil and I do not speak very well English language, I may
 not have expressed myself correctly.
 I'll try to explain better:
 I have a system that connects to geoserver, Using a password and username
 to access the layers that he created and that only he can see. This same 
 user
 need also use the QuantumGIS to access these same layers and should use the
 same username and password.

 To be more specific: I need to check if the user can access the WMS or
 WFS request. Using JDBC UserGroupService i can do this ?

 2015-01-27 15:37 GMT-02:00 Mauro Bartolomeoli 
 mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 the simplest thing you can do is to use the JDBC UserGroupService. This
 can be used to take users and groups information from your custom database.

 You can find some basic documentation here:
 http://docs.geoserver.org/stable/en/user/security/usergrouprole/usergroupservices.html#jdbc-user-group-service

 The module itself is supposed to work with its own database structure,
 but it's configurable through a couple of XML files (where you can specify
 a set of SQL queries to read the data from your database).

 The only caveat is password storage: this is a bit difficult to
 configure if you don't use one of the Geoserver encodings for passwords.

 Let me know if you need further info on this subject.

 Mauro

 2015-01-27 18:01 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com
 :

 Hello, I would like to take my User database to allow access to
 geoserver, I tried to extend the GeoServerAuthenticationProvider class
 but it did not work, (also tried to extend AbstractFilterProvider but
 unsuccessfully) the class is never called.
 I tried to follow the example of
 GeoServerUserNamePasswordAuthenticationProvider class, but also
 failed.
 Does anyone have any more detailed material that the manual to make
 GeoServer 2.6 to help me do this?



 Thank you all.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media,
 is your
 hub for all things parallel software 

Re: [Geoserver-devel] Use my database to allow access to geoserver

2015-01-28 Thread Mauro Bartolomeoli
Hi Romulo,
about REST, probably you need to configure your authentication provider in
the REST filter chain.
In the GeoServer Authentication admin page you have a section with filter
chains. One is explicitly for REST. Choosing it, you can enable new
authentication providers.

Beware that you cannot authorize users to use REST only on specific layers.

Mauro

2015-01-27 19:09 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 I used a subclass of AbstractGeoserverPasswordEncoder to encode password
 provided by the user and validated if it is valid. I already can verify in
 my database if the user/password is valid. But only works when acessing by
 the geoserver web interface, i need that works with REST requisition too.

 2015-01-27 15:57 GMT-02:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Thanks for the reply.
  I'm from Brazil and I do not speak very well English language, I may not
 have expressed myself correctly.
 I'll try to explain better:
 I have a system that connects to geoserver, Using a password and username
 to access the layers that he created and that only he can see. This same user
 need also use the QuantumGIS to access these same layers and should use the
 same username and password.

 To be more specific: I need to check if the user can access the WMS or
 WFS request. Using JDBC UserGroupService i can do this ?

 2015-01-27 15:37 GMT-02:00 Mauro Bartolomeoli 
 mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 the simplest thing you can do is to use the JDBC UserGroupService. This
 can be used to take users and groups information from your custom database.

 You can find some basic documentation here:
 http://docs.geoserver.org/stable/en/user/security/usergrouprole/usergroupservices.html#jdbc-user-group-service

 The module itself is supposed to work with its own database structure,
 but it's configurable through a couple of XML files (where you can specify
 a set of SQL queries to read the data from your database).

 The only caveat is password storage: this is a bit difficult to
 configure if you don't use one of the Geoserver encodings for passwords.

 Let me know if you need further info on this subject.

 Mauro

 2015-01-27 18:01 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Hello, I would like to take my User database to allow access to
 geoserver, I tried to extend the GeoServerAuthenticationProvider class
 but it did not work, (also tried to extend AbstractFilterProvider but
 unsuccessfully) the class is never called.
 I tried to follow the example of
 GeoServerUserNamePasswordAuthenticationProvider class, but also failed.
 Does anyone have any more detailed material that the manual to make
 GeoServer 2.6 to help me do this?



 Thank you all.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
 Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




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

 Dott. Mauro Bartolomeoli
 @mauro_bart
 Senior Software Engineer

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

 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

[Geoserver-devel] [jira] (GEOS-6860) Spacial index not created

2015-01-28 Thread christophe TARDELLA (JIRA)
Title: Message Title










 

 christophe TARDELLA created an issue


















 GeoServer /  GEOS-6860



  Spacial index not created 










Issue Type:

  Bug




Affects Versions:


 2.6.0




Assignee:

 Andrea Aime




Attachments:


 DepartementsSansIndex.zip




Created:


 28/Jan/15 3:25 AM




Environment:


 Centos, tomcat 7




Labels:


 index shapefile




Priority:

  Minor




Reporter:

 christophe TARDELLA










I create a datastore using the REST API using url (the shape file 'DepartementsSansIndex.zip' is in attachment) : http://host/geoserver/rest/workspaces/clients/datastores/test/file.shp
Then I go to the web console, check the checkbox 'create spacial index' and save it but there isn't any index file created.




   

Re: [Geoserver-devel] proposal: Layer with Service Security

2015-01-28 Thread Andrea Aime
On Wed, Jan 28, 2015 at 2:44 AM, Jody Garnett jgarn...@boundlessgeo.com
wrote:

 Thanks for the context Andrea.

 So if I understand the proposal we are looking for a way to reverse that
 design decision.


It looks that way, with the requirement that Niels added during the
conversation (control
services at the workspace level).

But if backwards compatibility is broken, we might as well fast track a
geofence integration,
as it would not be a slight chance, it would be a downright rewrite,
require a migration
path, and a rewrite of the docs (as such, something scheduled for 2.8.x
only, Niels
insisting on the notion of small changes makes me think he's looking for
a solution
that could be backported, but maybe he just want one that requires less
work).

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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.

---
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Use my database to allow access to geoserver

2015-01-28 Thread Mauro Bartolomeoli
Hi Romulo,
as for REST, you can use filter chains to enable authentication providers
on OGC service (WMS, WFS, etc.).
The chain to use is the default one.

Mauro

2015-01-27 18:57 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Thanks for the reply.
  I'm from Brazil and I do not speak very well English language, I may not
 have expressed myself correctly.
 I'll try to explain better:
 I have a system that connects to geoserver, Using a password and username to
 access the layers that he created and that only he can see. This same user
 need also use the QuantumGIS to access these same layers and should use the
 same username and password.

 To be more specific: I need to check if the user can access the WMS or WFS
 request. Using JDBC UserGroupService i can do this ?

 2015-01-27 15:37 GMT-02:00 Mauro Bartolomeoli 
 mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 the simplest thing you can do is to use the JDBC UserGroupService. This
 can be used to take users and groups information from your custom database.

 You can find some basic documentation here:
 http://docs.geoserver.org/stable/en/user/security/usergrouprole/usergroupservices.html#jdbc-user-group-service

 The module itself is supposed to work with its own database structure,
 but it's configurable through a couple of XML files (where you can specify
 a set of SQL queries to read the data from your database).

 The only caveat is password storage: this is a bit difficult to configure
 if you don't use one of the Geoserver encodings for passwords.

 Let me know if you need further info on this subject.

 Mauro

 2015-01-27 18:01 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Hello, I would like to take my User database to allow access to
 geoserver, I tried to extend the GeoServerAuthenticationProvider class
 but it did not work, (also tried to extend AbstractFilterProvider but
 unsuccessfully) the class is never called.
 I tried to follow the example of
 GeoServerUserNamePasswordAuthenticationProvider class, but also failed.
 Does anyone have any more detailed material that the manual to make
 GeoServer 2.6 to help me do this?



 Thank you all.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




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

 Dott. Mauro Bartolomeoli
 @mauro_bart
 Senior Software Engineer

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

 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.





-- 
==
GeoServer Professional 

Re: [Geoserver-devel] Use my database to allow access to geoserver

2015-01-28 Thread Romulo Vieira da Silva
Hello Mauro,
I tried this:
1- I created the TesteAuthenticationProvider class that is a copy of
UsernamePasswordAuthenticationProvider.
2- In applicationSecurityContext.xml file added the following line bean id
= testeAuthenticationProvider class =
com.romulo.geoserver.TesteAuthenticationProvider /
3- I added testeAuthenticationProvider = Authentication Provider Test in
GeoServerApplication.properties file

In GeoServer web interface:
1- In Authentication Filters, added a new record with J2EE Role source
J2EE default
2- to Filter Chain, I clicked on default
3 - In Chain Filter added Authentication Provider Test and removed
basic and clicked close
4- I saved all


I put a breakpoint in TesteAuthenticationProvider class but never reaches
it.
With this configuration, I realized that the breakpoint in class
UsernamePasswordAuthenticationProvider not work anymore.

Can you tell me what I did wrong?

Thanks for your help.

2015-01-28 6:51 GMT-02:00 Mauro Bartolomeoli 
mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 as for REST, you can use filter chains to enable authentication providers
 on OGC service (WMS, WFS, etc.).
 The chain to use is the default one.

 Mauro

 2015-01-27 18:57 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Thanks for the reply.
  I'm from Brazil and I do not speak very well English language, I may not
 have expressed myself correctly.
 I'll try to explain better:
 I have a system that connects to geoserver, Using a password and username
 to access the layers that he created and that only he can see. This same user
 need also use the QuantumGIS to access these same layers and should use the
 same username and password.

 To be more specific: I need to check if the user can access the WMS or
 WFS request. Using JDBC UserGroupService i can do this ?

 2015-01-27 15:37 GMT-02:00 Mauro Bartolomeoli 
 mauro.bartolome...@geo-solutions.it:

 Hi Romulo,
 the simplest thing you can do is to use the JDBC UserGroupService. This
 can be used to take users and groups information from your custom database.

 You can find some basic documentation here:
 http://docs.geoserver.org/stable/en/user/security/usergrouprole/usergroupservices.html#jdbc-user-group-service

 The module itself is supposed to work with its own database structure,
 but it's configurable through a couple of XML files (where you can specify
 a set of SQL queries to read the data from your database).

 The only caveat is password storage: this is a bit difficult to
 configure if you don't use one of the Geoserver encodings for passwords.

 Let me know if you need further info on this subject.

 Mauro

 2015-01-27 18:01 GMT+01:00 Romulo Vieira da Silva rmovie...@gmail.com:

 Hello, I would like to take my User database to allow access to
 geoserver, I tried to extend the GeoServerAuthenticationProvider class
 but it did not work, (also tried to extend AbstractFilterProvider but
 unsuccessfully) the class is never called.
 I tried to follow the example of
 GeoServerUserNamePasswordAuthenticationProvider class, but also failed.
 Does anyone have any more detailed material that the manual to make
 GeoServer 2.6 to help me do this?



 Thank you all.


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
 Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel




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

 Dott. Mauro Bartolomeoli
 @mauro_bart
 Senior Software Engineer

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

 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.



Re: [Geoserver-devel] Regression in 2.7.x, valid coverage names are rejected because not valid xml names

2015-01-28 Thread Jody Garnett
The hope is to prevent the creation of more unsafe names on disk (so I do
not expect to see foo__bar and foo::bar).
The goal was to recognize we have introduced ambiguity and cut it off
before the problem gets worse.

--
Jody Garnett

On 27 January 2015 at 10:39, David Winslow dwins...@boundlessgeo.com
wrote:

 The proposal to automatically rewrite names seems pretty complicated.  I
 have a number of concerns but I want to focus on just one:

 The goal is to eliminate ambiguity but the proposal seems to be adding
 it.  What should happen if a user has an existing configuration with two
 styles - one named foo__bar and another named foo::bar?  Or generally
 how do we avoid having multiple unsafe names translating to the same
 safe one?  I don't think that it is possible to do this and keep it
 transparent to old clients.

 On Tue, Jan 27, 2015 at 1:19 PM, Jody Garnett jody.garn...@gmail.com
 wrote:

 Here is the proposal:
 https://github.com/geoserver/geoserver/wiki/GSIP-127




 --
 David Winslow
 Software Engineer | Boundless http://boundlessgeo.com/
 dwins...@boundlessgeo.com
 917-388-9085
 @boundlessgeo http://twitter.com/boundlessgeo/



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] IRC?

2015-01-28 Thread Jody Garnett
Just remove, or change the language to invite users to collaborate on the
#geoserver IRC channel.

--
Jody Garnett

On 28 January 2015 at 14:18, Mike Pumphrey m...@boundlessgeo.com wrote:

 Hi all. I was doing some minor cleanup of the intro section of the docs*
 and I was wondering if I should change or remove the section on IRC. I hear
 that IRC isn't very well trafficked these days.


 http://docs.geoserver.org/latest/en/user/introduction/gettinginvolved.html#irc

 Replace with Stack Exchange perhaps, or just remove?

 * https://github.com/geoserver/geoserver/pull/900


 Thanks,
 Mike

 Mike Pumphrey
 User Advocate | Boundless
 m...@boundlessgeo.com
 917-460-7213
 http://boundlessgeo.com
 @boundlessgeo


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Geoserver-devel mailing list
 Geoserver-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] New function

2015-01-28 Thread Bonventi Matthieu
Hi everyone, I finally made up the function I needed in geoserver. This
function return a fill color for a polygon based on a feature attribute
without the needs to give color parameter in input (color gradient is from
red to green but we can add new colors) . I found some works of Michael
Bedward but I couldn't use it in Geoserver so I had to adapt it (I took the
interpolate function as model to understand how we can get parameters from
the SLD for use in the java class) and make a function factory. It seems to
work now . I think it could be interesting to have this function. I am new
in this community so I wanted to ask you how can I publish it so people can
use it.

Thank you, have a good day

-- 
Matthieu BONVENTI
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] IRC?

2015-01-28 Thread Mike Pumphrey
Hi all. I was doing some minor cleanup of the intro section of the docs* and I 
was wondering if I should change or remove the section on IRC. I hear that IRC 
isn't very well trafficked these days.

http://docs.geoserver.org/latest/en/user/introduction/gettinginvolved.html#irc

Replace with Stack Exchange perhaps, or just remove?

* https://github.com/geoserver/geoserver/pull/900


Thanks,
Mike

Mike Pumphrey
User Advocate | Boundless
m...@boundlessgeo.com
917-460-7213
http://boundlessgeo.com
@boundlessgeo

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Build failed in Jenkins: geoserver-2.6.x-nightly #169

2015-01-28 Thread monitor
See http://ares.opengeo.org/jenkins/job/geoserver-2.6.x-nightly/169/

--
[...truncated 2454 lines...]
[INFO] BeanShell Scripting Extension . SKIPPED
[INFO] Ruby Scripting Extension .. SKIPPED
[INFO] Application Schema Support  SKIPPED
[INFO] Application Schema Integration Test ... SKIPPED
[INFO] Sample DataAccess Integration Test  SKIPPED
[INFO] ArcSDE DataStore Extension  SKIPPED
[INFO] GeoSearch Index Module  SKIPPED
[INFO] SQL Server DataStore Extension  SKIPPED
[INFO] Oracle DataStore Extension  SKIPPED
[INFO] MySQL DataStore Extension . SKIPPED
[INFO] DB2 DataStore Extension ... SKIPPED
[INFO] ImageMap Output Format  SKIPPED
[INFO] ImageI/O-Ext GDAL Coverage Extension .. SKIPPED
[INFO] JP2K Coverage Extension ... SKIPPED
[INFO] ogr2ogr Output Format . SKIPPED
[INFO] Excel Output Format ... SKIPPED
[INFO] Chart external graphics support ... SKIPPED
[INFO] Feature Generalization Extension .. SKIPPED
[INFO] Image Mosaic JDBC Extension ... SKIPPED
[INFO] OWS request flow controller ... SKIPPED
[INFO] Web Processing Service GUI  SKIPPED
[INFO] GeoServer Layer Querying filter functions . SKIPPED
[INFO] Teradata DataStore Extension .. SKIPPED
[INFO] GeoServer Monitor Extensions .. SKIPPED
[INFO] Core Monitor Extension  SKIPPED
[INFO] Monitor Hibernate Extension ... SKIPPED
[INFO] GeoServer Security Extension Modules .. SKIPPED
[INFO] GeoServer CAS Security Module . SKIPPED
[INFO] GeoServer Security Extension Web Modules .. SKIPPED
[INFO] GeoServer CAS Security Web Module . SKIPPED
[INFO] XLST based WFS output format .. SKIPPED
[INFO] GeoServer INSPIRE Extensions .. SKIPPED
[INFO] GeoServer CSS Styling . SKIPPED
[INFO] Catalog Services for the Web parent ... SKIPPED
[INFO] Catalog Services for the Web interfaces ... SKIPPED
[INFO] Catalog Services for the Web - Simple CatalogStore implementation  
SKIPPED
[INFO] Catalog Services for the Web core module .. SKIPPED
[INFO] CSW UI Module . SKIPPED
[INFO] DXF WFS output format and WPS PPIO  SKIPPED
[INFO] DXF WFS output format . SKIPPED
[INFO] DXF WPS PPIO .. SKIPPED
[INFO] Printing Module ... SKIPPED
[INFO] GeoServer WCS 2.0 Earth Observation Extensions  SKIPPED
[INFO] Web Coverage Service 2.0 Earth Observation extensions  SKIPPED
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension  SKIPPED
[INFO] GeoServer libjpeg-turbo Module  SKIPPED
[INFO] GeoServer Data Importer ... SKIPPED
[INFO] Importer Core Module .. SKIPPED
[INFO] Importer REST Api Module .. SKIPPED
[INFO] Importer Berkley DB Persistence Module  SKIPPED
[INFO] Importer Web UI Module  SKIPPED
[INFO] GeoServer Release Module .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 2:55.423s
[INFO] Finished at: Thu Jan 29 04:22:14 UTC 2015
[INFO] Final Memory: 50M/216M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project gs-gwc: Compilation failure: Compilation failure:
[ERROR] 
http://ares.opengeo.org/jenkins/job/geoserver-2.6.x-nightly/ws/src/gwc/src/main/java/org/geoserver/gwc/GWC.java:[83,32]
 error: package org.geowebcache.diskquota does not exist
[ERROR] 
http://ares.opengeo.org/jenkins/job/geoserver-2.6.x-nightly/ws/src/gwc/src/main/java/org/geoserver/gwc/GWC.java:[84,32]
 error: package org.geowebcache.diskquota does not exist
[ERROR] 
http://ares.opengeo.org/jenkins/job/geoserver-2.6.x-nightly/ws/src/gwc/src/main/java/org/geoserver/gwc/GWC.java:[85,32]
 error: package org.geowebcache.diskquota does not exist
[ERROR] 
http://ares.opengeo.org/jenkins/job/geoserver-2.6.x-nightly/ws/src/gwc/src/main/java/org/geoserver/gwc/GWC.java:[88,40]
 error: package org.geowebcache.diskquota.storage does not exist
[ERROR]