RE: Configuring model security

"Mike McKinney" <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <1B721572A2C99342BC3AADFED9A684B0033CDA@gate.platinumsolutions.com>
have you set up your authmanager? 
 
http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?HowDoesAuthorizationWork
 
 
You can also set up the authmanager by model :
 
<myapp.modelname id="app.modelname" am="authmanager"/>
 
(this is assuming you have your xdoclet tags filling out the definition above)
 
Hope this helps...
 
Mike

________________________________

From: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org on behalf of Gene
Sent: Mon 4/25/2005 12:06 PM
To: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected]
Subject: Re: [Keelgroup] Configuring model security



are you running a webapp client? struts or cocoon?  you may already be
logged in via a cookie if that is the case.

hth
gene

Max wrote:
> Hi,
>
> I'm trying to set up keel's authorization service to manage access to my
> models. I can't find a standard way of doing this in the
> wiki/documentation/examples. I've done the following:
>
> My models all inherit from SecurableStandardLogEnabledModel.
>
> I add my model name to component-security.componentsecurity as:
>    Operations allowed: *
>    Component Name: com.mydomain.Modelname
>    Group Name: customer
>
> I then add a group called "customer" to keel.usergroup.
>
> I then register a bunch of users in keel.user and map them to the
> "customer" group in keel.groupmembers.
>
> I then launch my app and, without logging on at all, try to access
> com.mydomain.Modelname and get instant access. I'm obviously missing a
> step somewhere. Any ideas?
>
> Thanks,
> Max
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.