That's all!! I would like to thanks Matt for helped me in this thread!
The problem was solved following the link that you posted! Tks!! [] 's Murilo mraible wrote: > > Please search through the mailing list archives (appfuse.org/forums) - > someone else got this working recently and posted their solution. > > Matt > > On 5/2/07, muriloht <[EMAIL PROTECTED]> wrote: >> >> Thanks for your reply Matt! >> >> I read about SwitchUserProcessingFilter, and this will be very usefull in >> my >> case. >> >> But i'm not having succes on the filter configuration. There's some >> example >> of configuration? I'm trying with the example given in documentation But >> when i try to acces the url http://localhost:8080/app/_acegi_switch_user >> it >> returns me and page not found error. >> >> Any idea of what is this?? >> >> >> Tks! >> >> Code: >> >> <bean id="switchUserProcessingFilter" >> class="org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter"> >> <property name="userDetailsService" ref="userDao" /> >> <property >> name="switchUserUrl"><value>/j_acegi_switch_user</value></property> >> <property >> name="exitUserUrl"><value>/j_acegi_exit_user</value></property> >> <property >> name="targetUrl"><value>/mainMenu.html</value></property></bean> >> >> >> I don't know if you can switch between roles with it, but you might >> look into using the SwitchUserProcessingFilter from Acegi. >> >> http://www.nabble.com/Re:-Multiple-Usernames-p9167108s2369.html >> >> Matt >> >> On 4/30/07, muriloht <[EMAIL PROTECTED]> wrote: >> > >> > Good mourning, >> > >> > i would like to know if there is a way to create a combobox to allow >> the >> > users switch between the roles that he haves. >> > >> > something like: >> > >> > i am an user and my roles are: "teacher,student,coordinator" >> > >> > when i login to the system i would like to switch between the views of >> > indivudual roles without need to logoff and login again. >> > >> > >> > there is a way? >> > somebody can give me a light to how can i do this?? >> > >> > >> > vry tks!!! >> > []'s >> > -- >> > View this message in context: >> > http://www.nabble.com/Change-roles-tf3669843s2369.html#a10254154 >> > Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/Change-roles-tf3669843s2369.html#a10285083 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Change-roles-tf3669843s2369.html#a10293551 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
