"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 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
