RE: Configuring model security
"Mike McKinney" <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <1B721572A2C99342BC3AADFED9A684B0033CDD@gate.platinumsolutions.com> |
Shash has been working on splitting out all the UI specifics from the framework and into something called: "app-personality" (think that is the name) He might be the best person to answer your questions on that subject (as things are changing) Mike ________________________________ From: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org on behalf of Max Sent: Mon 4/25/2005 2:47 PM To: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] Subject: Re: [Keelgroup] Configuring model security Thanks Mike, I had not set up the authmanager. I now get directed to a page that asks me if I want to log in. How do I configure the default page to go to should the user not be logged in? I have found a web.xml snippet web-error-page.jsp that I can override in projects conf directory however this is an explicit jsp. I can't seem to be able to change this to a struts forward or a tiles page definition. Thanks, Max > 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 > http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
winmail.dat
(application/ms-tnef, 6.5 KB) - not displayed