Re: Configuring model security
Gene <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
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