Hi Kalle, I know it's been some time since we last spoke about this project.
I'm getting started with it again and had a question for you. When you said
I could call Subject.login in my isAuthorized method, were you referring to
something like this?

    @Override
    protected boolean isAuthorized(HRIPrinciple hrip, String urlPath) {
        Subject currentUser = SecurityUtils.getSubject();
        HRIAuthenticationToken token = new
HRIAuthenticationToken(hrip.getUid());
        currentUser.login(token);
        return currentUser.isAuthenticated();
    }

I'm not entirely sure why I would need to access Tapestry's machinery. "I
don't know anything about Tapestry IOC". Would you further explain that
please and possibly point me to the tapestry security source location? 

Thanks,
George

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/tapestry-security-w-Remote-Login-tp5505792p5652188.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to