Hi there,

So I'm beginning to get the hang of the TDK security setup, but I can't 
quite qork out how to show a different screen/template to a user when 
they first log in.

At the moment the FluxLogin class seems to do this in response to a 
correct login attempt

data.setMessage(TurbineResources.getString("login.welcome"));

but I can't find any reference to login.welcome anywhere in the tdk

I'm assuming that the FluxLogin class is just displaying the default 
page described in the Turbine properties file

services.VelocityService.default.page.template = /Default.vm
services.VelocityService.default.layout.template = /Default.vm

Now, I guess I could extend FluxLogin and create a new login class that 
would display a template based on the user's role, but it's not clear to 
me how FluxLogin and turbines LoginUser interact, if at all ....

Any help greatly appreciated.

CHEERS> SAM

p.s. and yes I have read 
http://jakarta.apache.org/turbine/turbine-2/howto/security-howto.html



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

Reply via email to