Rafal Krzewski wrote:
> 
> Didier Dubois wrote:
> 
> > I have a login screen that call an Action FALogin that extends
> > LoginUser.
> >
> > The problem is that in the action I do not have the correct Roles
> > information. It seems it is not initialized:
> 
> Please take a look at Turbine.java and see in what order the actions
> are called. I believe that the ACL is initialized AFTER the login
> action was executed. 

Yes. On the login case Turbine.class calls int he following order:
1- data.getAction() (my action)
2- action.sessionvalidator
3- action.accesscontroller

Thus, during my own action, I do not have the ACL information yet.

> You need to know for whom set up the ACLs, right?

Yes true.
Depending on the user name (actually his role), I redirect the user to
one page or an other.
Any idea?


> 
> Rafal
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

-- 
mailto:[EMAIL PROTECTED]  http://www.idbsoft.ch


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to