[Chameleon] Authentication/authorization support

Dejan Gambin dejan.gambin at pula.hr
Thu Oct 26 17:37:43 EDT 2006


Thanks Julien,

First, I have realised I had to first use sample_admin.phtml to create the
users table and set the username/password. After that the authentication
works.

But how to use this for what I want - ordinary users can see the map without
any authentication (like it is now) but "some special users" (who know the
username/password) can authenticate and see the additional layer on the map
(in the legend)?

If I understand, I have to use a different map file for those two user
groups. Would it be difficult to have some "login" button on the initial
("unauthenticated") page that would call the login form, check for
username/password, and if authentication is successful, show the "new" page
using the new map file?

thanks very much

regards, dejan

> -----Original Message-----
> From: Julien-Samuel Lacroix [mailto:jlacroix at mapgears.com] 
> Sent: Thursday, October 26, 2006 4:27 PM
> To: Gambin Dejan
> Cc: chameleon at lists.maptools.org
> Subject: Re: [Chameleon] Authentication/authorization support
> 
> Hi,
> Chameleon  already have an authentification functionality. 
> Check the sample_user.phtml sample application (default 
> user/pwd are admin/admin I think). If you have any question, 
> don't hesitate to ask.
> 
> Julien
> 
> Gambin Dejan wrote:
> > Hi,
> > 
> > I would like to implement some kind of 
> authentication/authorization to 
> > my site, so that authenticated users can see (and query) additional 
> > layer that anonymous users (all the Internet users) can't.
> > 
> > Is it possible using the supported authentication/authorization 
> > support in Chameleon? Can someone explain me shortly what to do?
> > 
> > thanks very much
> > 
> > regards, dejan
> > 
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> 
> --
> Julien-Samuel Lacroix
> Mapgears
> http://www.mapgears.com/
> 



More information about the Chameleon mailing list