Chris,

Flux is packaged into the TDK as an application.  When you build the newapp
application you get a complete Turbine installation with both the "newapp"
and "Flux" apps installed.  I believe you will be able to see Flux links
from the very first page of "newapp".

The Flux application simplifies user management by providing a nice and
simple interface to the Turbine security service (which uses classes  like
org.apache.turbine.services.security.db.DBUserManager).  You don't need Flux
to use the Turbine security schema though.

To try out the security schema in your test application, use the newapp Flux
links to create and assign users to groups, roles, permissions.  Then in
your templates get the AccessControlList object from the RunData object and
perform your security checks by using the ACL's methods, like
"hasPermission(String)".  Check out the JavaDocs for Turbine for complete
detail on the ACL.

Daniel Bloomfield Ramagem


----- Original Message -----
From: "Chris Shenton" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 12:01 PM
Subject: Flux HowTo docs?


> Turbinewbie here :-(.  Trying to build an app from the ground up.  Got
> newapp working, have a simple HelloWorld working, now trying to do
> something which needs users/roles/permissions.
>
> The "TDK HowTo" references "Flux, the built-in user management system
> for Turbine", and Newapp appears to use it.  But I can find no docs on
> it -- how to build it into your app, how to call it.
>
> Any clues?  Thanks.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to