[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!
bsmithjj
do-not-reply at jboss.com
Fri Sep 28 08:35:36 EDT 2007
"stephen.friedrich" wrote : 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?
Stephen,
I will try your approach.
One quick question - why do you @In the Identity component and use Identity.instance()? Can you not use the injected Identity in all places in your solution?
Thanks,
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089673#4089673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089673
More information about the jboss-user
mailing list