Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] uDig: auth basic: annoying feature

Thinking.

uDig does actually store credentials (and makes use of them when doing GETMAP requests ....). I don't think the same logic has been applied to GetLegendGraphic.

I would actually consider it a mistake to lock down GetLegendGraphic since it is kind of considered a complement to the capabilities document (an icon used to represent each layer).  If the layer is listed in the capabilities document what is the icon being locked down for?

In anycase I think there are a couple bugs:
- we need to remember credentials for legend graphics (who knew!)
- the server should be locked down for GetMap but not GetLegendGraphics

Jody

On 12/02/2010, at 11:45 PM, Antonio Diaz Sanchez wrote:

> Hi,
> 
> I am trying to access to a set of resources that are protected with basic authentication. Even though uDig supports this feature, I think it behaves in an annoying way when a WMS layer is registered.
> 
> At that moment, uDig sends a request "GetLegendGraphic"  for every resource it finds in the GetCapabilities document. Since resources are protected, uDig asks me for typing my credentials. Moreover, it seems to be that at this point uDig does not remember my credentials, so I am required to type them for every resource it finds.
> 
> In my opinion this is not a good idea to ask for the legend graphic at that moment because it is possible that the server asks you for resources for which you are not authorized or for resources you are not interested in.
> 
> I hope me not to sound ungrateful because, apart from that feature, I really think that uDig is a fantastic tool.
> 
> Regards,
> 
> 
> 
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users



Back to the top