Our users, have different "profiles". I would like to know if I could configure JBoss 7, so that after authentication, a custom authorization module (or maybe a custom security mapping module?) could ask the user to choose one "profile" to login (via a web form).
I have been searching for a similir scenario, but I could not find something like that. I don't really know if that could be done, or if we have to resolve it in the application itself (after authentication and authorization).