Look for the classes SecureScreen and SecureAction inside your app. There must
be in a package like this:
your.domain..modules.screens and your.domain.modules.actions
Inside those classes there is a function "protected boolean isAuthorized(
RunData data )", where you can define the correct
authorization policy for your app. I think I saw this info in a HOWTO in the
jakarta site, but I can't remember which one right now. I hope this helps...
andres
Matthew Inger wrote:
> I am looking to use turbine to power my alumni website.
> However, I'm running into the following problem: I build the
> default application as instructed on the jakarta-turbine page.
> I direct it to use hypersonic sql, and connect to a local database
> on the filesystem. Everything works all well and good at first.
> The problems I run into:
> 1) When I create another use, I can never get that user past the
> login page unless i put them in the turbine_root role. I have
> verified that the user is authenticated in the LoginUser action
> (I put some debug statements in there). But still nothing shows.
>
> 2) I've noticed that if you have nothing in the user/password fields
> in the login screen, and hit the ok button, it will show the
> login page
> again, but this time, it will appear inside of the default layout.
>
> So i guess I'm wondering what i'm doing wrong. Do i have to do something
> special so that a non "turbine_root" user can log in? Are these above
> problems
> known problems, and are there workarounds?
>
> --
> Matt Inger ([EMAIL PROTECTED])
> Sedona Corporation
> 455 S. Gulph Road, Suite 300
> King of Prussia, PA 19406
> (484) 679-2213
> "Self-respect - the secure feeling that no one,
> as yet, is suspicious." -H.L. Mencken
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
=============================================
Andres G. Portillo D.
Software Engineer
Veratech (www.veratech.com.mx)
=============================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]