Re: [Geoserver-users] multiple sld files to geoserver layer according to the user sessions

2012-12-12 Thread cmaul
Zelio,

No  is the short answer. 
However, you could solve this problem programmatically by catching the
request and changing it according to the session_id/user_id or 
leave it to the user to modify the &styles= part of the WMS request,
provided you have defined the different styles or 
you could have the same layer several times defined with different default
styles, which are called by different users.

I know that users want A their particular styling and B only use the default
style. That rarely works.

Cheers

Christian





-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/multiple-sld-files-to-geoserver-layer-according-to-the-user-sessions-tp5021407p5022626.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] problem adding postgis table into geoserver 2.1 form the command line

2012-12-12 Thread Katie Essadro
If you are in Windows use double quote instead of single quotes for your
command line arguments.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/problem-adding-postgis-table-into-geoserver-2-1-form-the-command-line-tp5000527p5022570.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] problem adding postgis table into geoserver 2.1 form the command line

2012-12-12 Thread Katie Essadro
I have this exact same problem.. no one knows why this happens?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/problem-adding-postgis-table-into-geoserver-2-1-form-the-command-line-tp5000527p5022558.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] implementing CAS in Geoserver

2012-12-12 Thread Sachin Hirve
Hi Christian,

I had a deadline of December 25, 2012 to show CAS working with few more
features dependent on CAS which looks difficult now. I will also need time
to integrate your code into my working branch. Code integration will
include migration code and CAS extension, since I am using another
geoserver version (based on 2.2.x) for some specific services (which are
not part of current geoserver development). So in all whenever earliest
possible I could get the nightly build with instructions to merge the code,
that would be a big help.

Thank you for your help. I highly appreciate it.

regards,
Sachin


On Wed, Dec 12, 2012 at 8:37 AM,  wrote:

> Hi Sachin
>
> What is your deadline. Please let me know ?
>
>
> Christian
>
> Zitat von Sachin Hirve :
>
>  Hi Christian,
>>
>> Thank you for sharing this information. I am not using the CAS related
>> code
>> of geoserver which was on geoserver. Rather I was planning to start from
>> the beginning, but it seems to involve a huge effort. Therefore I am
>> looking forward to your CAS extension implementation.
>>
>> If you can let me know the estimated time of sharing the nightly build
>> (CAS
>> extension), that would be a big help. I am looking to include your CAS
>> implementation in my work as soon as possible due to an upcoming demo
>> deadline.
>>
>> Thank you for your help.
>>
>> regards
>> Sachin
>>
>>
>>
>> On Fri, Dec 7, 2012 at 4:12 AM,  wrote:
>>
>>  Hi Sachin
>>>
>>> I am the developer of the CAS module. First the bad news. The CAS module
>>> never should have been on the download page, this was an "accident". You
>>> can stop your efforts here, it will not work.
>>>
>>> First I have to apply the patch for
>>> http://geoserver.org/display/GEOS/GSIP+82+-+Reworking+**
>>> security+filter+chains>> GSIP+82+-+Reworking+security+**filter+chains
>>> >
>>>
>>>
>>> The new CAS module is based on this patch. Unfortunately, this patch
>>> requires migration code and it is not possible to apply it to 2.2.x
>>> series.
>>> CAS will work starting with Geoserver 2.3.0. The release schedule is here
>>>
>>> http://geoserver.org/display/GEOS/GeoTools+and+GeoServer+
>>> release+schedule>> GeoTools+and+GeoServer+**release+schedule
>>> >
>>>
>>>
>>> The good news: I hope to get finished soon and you can try CAS using a
>>> nightly build. I will send an information mail on the user list.
>>>
>>> Sorry for your inconvenience
>>>
>>> Christian
>>>
>>>
>>> Zitat von Sachin Hirve :
>>>
>>>
>>>  Hello all,
>>>

 I am trying to implement CAS authentication in GeoServer and would
 appreciate if anyone having expertise in it could guide me. Following
 are
 the steps I already tried, but with no success. FYI I am still
 relatively
 a
 beginner for spring security and geoserver.

 I have tried inserting CAS authentication, but was unsuccessful. I might
 be
 wrong in my approach, but I was trying to implement a CAS authentication
 wrapper around geoserver. I also tried modifying
 aplicationSecurityContext
 to insert CAS, but that also failed due to conflicts with current
 authentication (usernamepassword) mechanism. It seems that other
 services
 (catalog, wms etc.) are tightly coupled with previous authentication
 mechanism and my insertion of CAS relevant code breaks the previous
 authentication, thereby failing to get these other services up.

 Let me know if you have any thoughts about the possible path of
 implementation. I highly appreciate your help. FYI, I am using a
 slightly
 different implementation of geoserver from
 http://3dwebgis.di.uminho.pt/sources/
 
 >.

 Additionally I have also seen
 similar efforts in progress from Christian Mueller, but since it is yet
 to
 finish, I am giving it a shot myself.

 Thanks
 Sachin



>>>
>>> --**--**
>>>
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>>
>>>
>>
>
>
> --**--**
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover wha

Re: [Geoserver-users] Is anonymous binding required for ldap authentication?

2012-12-12 Thread Andreas Fogelberg
Hi!

By recursive I mean that I would like to do a subtree search. In our case
users are defined in subtrees.

Thanks,
Andreas

2012/12/12 

> Hi Andreas
>
> I am not used to using LDAP, what do you mean with a recursive search ?
> AFAIK, the LDAP plugin does a simple bind with username/credentials, so I
> have no idea about your problem.
>
>
> Christian
>
>
> Zitat von Andreas Fogelberg :
>
>  Thank you Christian!
>>
>> Removing the "anonymous" filter did help me to solve the problem. I also
>> had to change the settings for User loopkup pattern from uid ={0} to
>> cn={0}.
>>
>> What I didn't manage to do is a recursive search in the LDAP database. For
>> those users I still get the same error:
>> javax.naming.AuthenticationException: [LDAP: error code 49 -
>> 80090308:
>>
>> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
>> v1db1]
>>
>> Kind regards,
>> Andreas
>>
>>
>>
>> 2012/12/12 
>>
>>  Hi Andreas
>>>
>>> The developer of the ldap plugin is in holidays for 3 weeks. I will try
>>> to
>>> help here.
>>>
>>> If you dont want an anonymous login, remove the "anonymous" filter from
>>> all filter chains. This can be done using the "Authentication" panel in
>>> the
>>> top security menu.
>>>
>>> I googled the LDAP error code, 49 seems to be "invalid credentials". Did
>>> you test your ldap connection without using Geoserver ?
>>>
>>> Christian
>>>
>>>
>>> Zitat von Andreas Fogelberg :
>>>
>>>
>>>  Hi list!
>>>

 We are setting up authentication against an LDAP server. When we test
 the
 connection we recieve the following error:
 javax.naming.AuthenticationException: [LDAP: error code 49 -
 80090308:

 LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
 v1db1]

 Could the reason be that anonymous binding is required? I'm not sure if
 this is the case in GeoServer. In our environment anonymous binding is
 not
 allowed.

 We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server
 is
 not inside the AD.


 Thanks in advance.

 All best,
 Andreas



>>>
>>> --**--**
>>>
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>>
>>>
>>
>
>
> --**--**
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Need some help regarding authkey module of geoserver community

2012-12-12 Thread christian . mueller
Hi Manas

Not sure if I can solve your problem, but some facts you should know.

The authkey module is not tested/integrated into the new sucurity  
subsystem and a chance to do this is on GeoServer 2.3 series (for my  
part, if I can find some time or a sponsor).

I assume you removed the anonymous filter from the filter chain and  
you have a basic auth filter on these chains.  The last authentication  
filter on a chain determines how to challenge for credentials.  
Assuming this configuration, GeoServer sends back a basic auth  
challenge to the browser. After entering username/credentials, the  
browser should send the http auth header for each request. The  
behaviour you described is correct.

If you look at the documentation

http://docs.geoserver.org/stable/en/user/community/authkey/index.html

the first paragraph states that there is no basic auth support.

I assume, authkey works only with an anonymous filter and an authkey  
URL parameter passed in the first request, but I am not sure here.

Hope that helps









Zitat von Jody Garnett :

> Best ask on the user list, the security system has been changed for   
> GeoServer 2.2 and we are all learning how to make use of it.
>
> If you would like direct email support, the website has a number of   
> server providers (such as my employer) -  perhaps there is an   
> organisation in your area?
>
> --
> Jody Garnett
>
>
> On Wednesday, 12 December 2012 at 8:27 AM, manas kar wrote:
>
>> Hi Jody,
>>
>>  I am very new to java programming and more so in spring security   
>> so my question might be lame.
>>
>>  I was wondering if I could get some help or guidance regarding how  
>>  to use authkey with geoserver.
>>
>> I have a geoserver installation that works fine with authkey if I   
>> choose anonymous authentication in the filter chain.
>> As soon as I turn on basic authentication, the browser asks for   
>> credentials before the authkey module is even hit.
>>
>> My requirement is to make OGC calls to go via authkey and then   
>> basic authentication.
>>
>> Is there a out of the box way to do it or I shall have to write a   
>> custom AuthenticationFilter and put it before basic in the filter   
>> chain?
>>
>> Thanks in advance.
>
>




This message was sent using IMP, the Internet Messaging Program.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] implementing CAS in Geoserver

2012-12-12 Thread Premysl Vohnout

Hi,
I'm also interested in using CAS in geoserver. But I don't have any 
specific deadline.


best regards,
Premysl

On St 12. prosinec 2012, 14:37:15 CET, christian.muel...@nvoe.at wrote:

Hi Sachin

What is your deadline. Please let me know ?

Christian

Zitat von Sachin Hirve :


Hi Christian,

Thank you for sharing this information. I am not using the CAS related code
of geoserver which was on geoserver. Rather I was planning to start from
the beginning, but it seems to involve a huge effort. Therefore I am
looking forward to your CAS extension implementation.

If you can let me know the estimated time of sharing the nightly build (CAS
extension), that would be a big help. I am looking to include your CAS
implementation in my work as soon as possible due to an upcoming demo
deadline.

Thank you for your help.

regards
Sachin



On Fri, Dec 7, 2012 at 4:12 AM,  wrote:


Hi Sachin

I am the developer of the CAS module. First the bad news. The CAS module
never should have been on the download page, this was an "accident". You
can stop your efforts here, it will not work.

First I have to apply the patch for
http://geoserver.org/display/**GEOS/GSIP+82+-+Reworking+**
security+filter+chains

The new CAS module is based on this patch. Unfortunately, this patch
requires migration code and it is not possible to apply it to 2.2.x series.
CAS will work starting with Geoserver 2.3.0. The release schedule is here

http://geoserver.org/display/**GEOS/GeoTools+and+GeoServer+**
release+schedule

The good news: I hope to get finished soon and you can try CAS using a
nightly build. I will send an information mail on the user list.

Sorry for your inconvenience

Christian


Zitat von Sachin Hirve :


  Hello all,


I am trying to implement CAS authentication in GeoServer and would
appreciate if anyone having expertise in it could guide me. Following are
the steps I already tried, but with no success. FYI I am still relatively
a
beginner for spring security and geoserver.

I have tried inserting CAS authentication, but was unsuccessful. I might
be
wrong in my approach, but I was trying to implement a CAS authentication
wrapper around geoserver. I also tried modifying aplicationSecurityContext
to insert CAS, but that also failed due to conflicts with current
authentication (usernamepassword) mechanism. It seems that other services
(catalog, wms etc.) are tightly coupled with previous authentication
mechanism and my insertion of CAS relevant code breaks the previous
authentication, thereby failing to get these other services up.

Let me know if you have any thoughts about the possible path of
implementation. I highly appreciate your help. FYI, I am using a slightly
different implementation of geoserver from
http://3dwebgis.di.uminho.pt/**sources/.
Additionally I have also seen
similar efforts in progress from Christian Mueller, but since it is yet to
finish, I am giving it a shot myself.

Thanks
Sachin





--**--**
This message was sent using IMP, the Internet Messaging Program.










This message was sent using IMP, the Internet Messaging Program.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
<>--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] implementing CAS in Geoserver

2012-12-12 Thread christian . mueller
Hi Sachin

What is your deadline. Please let me know ?

Christian

Zitat von Sachin Hirve :

> Hi Christian,
>
> Thank you for sharing this information. I am not using the CAS related code
> of geoserver which was on geoserver. Rather I was planning to start from
> the beginning, but it seems to involve a huge effort. Therefore I am
> looking forward to your CAS extension implementation.
>
> If you can let me know the estimated time of sharing the nightly build (CAS
> extension), that would be a big help. I am looking to include your CAS
> implementation in my work as soon as possible due to an upcoming demo
> deadline.
>
> Thank you for your help.
>
> regards
> Sachin
>
>
>
> On Fri, Dec 7, 2012 at 4:12 AM,  wrote:
>
>> Hi Sachin
>>
>> I am the developer of the CAS module. First the bad news. The CAS module
>> never should have been on the download page, this was an "accident". You
>> can stop your efforts here, it will not work.
>>
>> First I have to apply the patch for
>> http://geoserver.org/display/**GEOS/GSIP+82+-+Reworking+**
>> security+filter+chains
>>
>> The new CAS module is based on this patch. Unfortunately, this patch
>> requires migration code and it is not possible to apply it to 2.2.x series.
>> CAS will work starting with Geoserver 2.3.0. The release schedule is here
>>
>> http://geoserver.org/display/**GEOS/GeoTools+and+GeoServer+**
>> release+schedule
>>
>> The good news: I hope to get finished soon and you can try CAS using a
>> nightly build. I will send an information mail on the user list.
>>
>> Sorry for your inconvenience
>>
>> Christian
>>
>>
>> Zitat von Sachin Hirve :
>>
>>
>>  Hello all,
>>>
>>> I am trying to implement CAS authentication in GeoServer and would
>>> appreciate if anyone having expertise in it could guide me. Following are
>>> the steps I already tried, but with no success. FYI I am still relatively
>>> a
>>> beginner for spring security and geoserver.
>>>
>>> I have tried inserting CAS authentication, but was unsuccessful. I might
>>> be
>>> wrong in my approach, but I was trying to implement a CAS authentication
>>> wrapper around geoserver. I also tried modifying aplicationSecurityContext
>>> to insert CAS, but that also failed due to conflicts with current
>>> authentication (usernamepassword) mechanism. It seems that other services
>>> (catalog, wms etc.) are tightly coupled with previous authentication
>>> mechanism and my insertion of CAS relevant code breaks the previous
>>> authentication, thereby failing to get these other services up.
>>>
>>> Let me know if you have any thoughts about the possible path of
>>> implementation. I highly appreciate your help. FYI, I am using a slightly
>>> different implementation of geoserver from
>>> http://3dwebgis.di.uminho.pt/**sources/.
>>> Additionally I have also seen
>>> similar efforts in progress from Christian Mueller, but since it is yet to
>>> finish, I am giving it a shot myself.
>>>
>>> Thanks
>>> Sachin
>>>
>>>
>>
>>
>> --**--**
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>




This message was sent using IMP, the Internet Messaging Program.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Is anonymous binding required for ldap authentication?

2012-12-12 Thread christian . mueller
Hi Andreas

I am not used to using LDAP, what do you mean with a recursive search  
? AFAIK, the LDAP plugin does a simple bind with username/credentials,  
so I have no idea about your problem.

Christian


Zitat von Andreas Fogelberg :

> Thank you Christian!
>
> Removing the "anonymous" filter did help me to solve the problem. I also
> had to change the settings for User loopkup pattern from uid ={0} to cn={0}.
>
> What I didn't manage to do is a recursive search in the LDAP database. For
> those users I still get the same error:
> javax.naming.**AuthenticationException: [LDAP: error code 49 - 80090308:
> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
> v1db1]
>
> Kind regards,
> Andreas
>
>
>
> 2012/12/12 
>
>> Hi Andreas
>>
>> The developer of the ldap plugin is in holidays for 3 weeks. I will try to
>> help here.
>>
>> If you dont want an anonymous login, remove the "anonymous" filter from
>> all filter chains. This can be done using the "Authentication" panel in the
>> top security menu.
>>
>> I googled the LDAP error code, 49 seems to be "invalid credentials". Did
>> you test your ldap connection without using Geoserver ?
>>
>> Christian
>>
>>
>> Zitat von Andreas Fogelberg :
>>
>>
>>  Hi list!
>>>
>>> We are setting up authentication against an LDAP server. When we test the
>>> connection we recieve the following error:
>>> javax.naming.**AuthenticationException: [LDAP: error code 49 - 80090308:
>>> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
>>> v1db1]
>>>
>>> Could the reason be that anonymous binding is required? I'm not sure if
>>> this is the case in GeoServer. In our environment anonymous binding is not
>>> allowed.
>>>
>>> We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server is
>>> not inside the AD.
>>>
>>>
>>> Thanks in advance.
>>>
>>> All best,
>>> Andreas
>>>
>>>
>>
>>
>> --**--**
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>




This message was sent using IMP, the Internet Messaging Program.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Is anonymous binding required for ldap authentication?

2012-12-12 Thread Andreas Fogelberg
Thank you Christian!

Removing the "anonymous" filter did help me to solve the problem. I also
had to change the settings for User loopkup pattern from uid ={0} to cn={0}.

What I didn't manage to do is a recursive search in the LDAP database. For
those users I still get the same error:
javax.naming.**AuthenticationException: [LDAP: error code 49 - 80090308:
LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
v1db1]

Kind regards,
Andreas



2012/12/12 

> Hi Andreas
>
> The developer of the ldap plugin is in holidays for 3 weeks. I will try to
> help here.
>
> If you dont want an anonymous login, remove the "anonymous" filter from
> all filter chains. This can be done using the "Authentication" panel in the
> top security menu.
>
> I googled the LDAP error code, 49 seems to be "invalid credentials". Did
> you test your ldap connection without using Geoserver ?
>
> Christian
>
>
> Zitat von Andreas Fogelberg :
>
>
>  Hi list!
>>
>> We are setting up authentication against an LDAP server. When we test the
>> connection we recieve the following error:
>> javax.naming.**AuthenticationException: [LDAP: error code 49 - 80090308:
>> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
>> v1db1]
>>
>> Could the reason be that anonymous binding is required? I'm not sure if
>> this is the case in GeoServer. In our environment anonymous binding is not
>> allowed.
>>
>> We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server is
>> not inside the AD.
>>
>>
>> Thanks in advance.
>>
>> All best,
>> Andreas
>>
>>
>
>
> --**--**
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Need some help regarding authkey module of geoserver community

2012-12-12 Thread Jody Garnett
Best ask on the user list, the security system has been changed for GeoServer 
2.2 and we are all learning how to make use of it.

If you would like direct email support, the website has a number of server 
providers (such as my employer) -  perhaps there is an organisation in your 
area?

-- 
Jody Garnett


On Wednesday, 12 December 2012 at 8:27 AM, manas kar wrote:

> Hi Jody, 
> 
>  I am very new to java programming and more so in spring security so my 
> question might be lame. 
> 
>  I was wondering if I could get some help or guidance regarding how to use 
> authkey with geoserver.
> 
> I have a geoserver installation that works fine with authkey if I choose 
> anonymous authentication in the filter chain.
> As soon as I turn on basic authentication, the browser asks for credentials 
> before the authkey module is even hit.
> 
> My requirement is to make OGC calls to go via authkey and then basic 
> authentication.
> 
> Is there a out of the box way to do it or I shall have to write a custom 
> AuthenticationFilter and put it before basic in the filter chain?
> 
> Thanks in advance. 

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Is anonymous binding required for ldap authentication?

2012-12-12 Thread christian . mueller
Hi Andreas

The developer of the ldap plugin is in holidays for 3 weeks. I will  
try to help here.

If you dont want an anonymous login, remove the "anonymous" filter  
from all filter chains. This can be done using the "Authentication"  
panel in the top security menu.

I googled the LDAP error code, 49 seems to be "invalid credentials".  
Did you test your ldap connection without using Geoserver ?

Christian


Zitat von Andreas Fogelberg :

> Hi list!
>
> We are setting up authentication against an LDAP server. When we test the
> connection we recieve the following error:
> javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
> v1db1]
>
> Could the reason be that anonymous binding is required? I'm not sure if
> this is the case in GeoServer. In our environment anonymous binding is not
> allowed.
>
> We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server is
> not inside the AD.
>
>
> Thanks in advance.
>
> All best,
> Andreas
>




This message was sent using IMP, the Internet Messaging Program.



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] unable to publish Image Mosaic.. WARN [imagemosaic.catalog]

2012-12-12 Thread Imran Rajjad
Dear List,

Geoserver 2.2.2 (Jetty-Win7 / JBoss - RHEL 5) startup logs gives the
following error on all image mosaic stores including the sample one and the
error is

2 Dec 15:56:47 WARN [imagemosaic.catalog] -
BBOXFilterExtractor::extractBasicProperties(): passed typename is null,
using: mosaic
12 Dec 15:56:47 WARN [imagemosaic.Utils] - Unable to find sample image for
path E:\data_gs222\coverages\mosaic_sample\sample_image
12 Dec 15:56:47 WARN [gce.imagemosaic] - Unable to find sample image for
path file:/E:/data_gs222/coverages/mosaic_sample/mosaic.shp

The same message appears when adding a new image mosaic store, after
submitting on the publish page the UI stays on the publish page and the
layer is not published. Does anybody have an idea about when does this
occur? The same store is working fine in an old GS 1.7.7.  Could this be an
OS related issue.

regards,
Imran

-- 
I.R
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Is anonymous binding required for ldap authentication?

2012-12-12 Thread Andreas Fogelberg
Hi list!

We are setting up authentication against an LDAP server. When we test the
connection we recieve the following error:
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
v1db1]

Could the reason be that anonymous binding is required? I'm not sure if
this is the case in GeoServer. In our environment anonymous binding is not
allowed.

We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server is
not inside the AD.


Thanks in advance.

All best,
Andreas
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WPS extension breaks ImageMosaic (was: Request to ImageMosaic layer fails after upgrade 2.2RC2 > 2.2.2)

2012-12-12 Thread Daniel Behr
Dear GS-Users,
I narrowed down my problem from the previous email (see below) a little bit.

I started from new, installed 2.2.2 war file in tomcat6, changed the 
data_dir and then checked my ImageMosaic layers after adding the 
extensions I previously ran with 2.2RC2 one by one (correct versions for 
2.2.2 from GS website).
After only setting the path to my data_dir the images from the 
ImageMosaic layers show up as expected, but after adding the WPS 
extension (which shows up in the list of services) the ImageMosaic 
layers dont work anymore, as described earlier on.

For the moment I remove the WPS extension, but can someone else 
reproduce this problem? Or is it possible that a combination of my data 
and configuration causes it?

Requesting one of the layers produces this [1] stack trace.

cheers
Daniel

[1]
2012-12-12 10:12:04,934 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the 
fast path
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:334)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:254)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:126)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:465)
at org.geoserver.wms.GetMap.run(GetMap.java:201)
at org.geoserver.wms.GetMap.run(GetMap.java:111)
at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353)
at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:61)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:35)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:69)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:50)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy31.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegating