Hi all,

I thing I have soome problem using ACL. 
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:


Here is a sample code:

public class FALogin extends LoginUser
{       
    public void doPerform( RunData data ) throws Exception  {   
        super.doPerform(data);

        // When I try to log once again, I still go in the same if part
        if ( true ==  data.getACL().getRoles().contains("master")) {
            data.setScreen("FAALSScreen");
        } else {
            data.setScreen("TestALSDB");
        }
        
    }
}


Any idea?

Didier

-- 
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