[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!
stephen.friedrich
do-not-reply at jboss.com
Fri Sep 28 04:13:03 EDT 2007
Brad, can't you use a similar checkLogin() method like in my code above?
It call identity.login(); which will call your authenticate method.
In that method I use
redirect.setViewId(nextPage);
to redirect to a different page depending on the users role.
(With "@Redirect redirect;" in my Authenticator.)
Not the most beautiful construct, but it gets the job done without showing a login page.
Or did I misunderstand your problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089581#4089581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089581
More information about the jboss-user
mailing list