Hi,

I've been using the WebMacroSiteSecure screen in my app, with the
RequireLoginFirst base screen that I got from scarab.  Now I got the TDK on
a machine over here, and I'm trying to port it to velocity.  Is the
authorization method used in RequireLoginFirst still the right way to do it?

    protected boolean isAuthorized( RunData data ) throws Exception
    {
        if (!data.getUser().hasLoggedIn())
        {
            data.getTemplateInfo().setScreenTemplate("ScarabLogin.wm");
            return false;
        }
        return true;
    }


Is there a reason that there is no VelocitySecureScreen, or is it just
because nobody's made one yet?

        -Nissim



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