If memory serves: 3 main parts regarding JAAS: 1. The user management, assignment or roles etc. which I assume would be application specific. However, associated with that is the need to flush the JAAS cache (which I haven't been able to get going in JBoss 4.0.x)
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80155 2. The initialization of the user after the JAAS login (injection of PortalUser). I used a factory method to explicitely load the user as extracted from the user principal Principal principal = FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal(); | 3. I also extended the ViewHandler to force the users locale and view options (as loaded from the database for that principal) to the correct values. The factory I used (in 2 above) didn't get initiated for the first showing of the admin pages. Again this will be application specific as not all implementations will have a choice regarding languages and view options. We are doing some weird things with CSS to provide larger fonts and different for and background colors I think a combination of these three elements (if 3 is required is doubtful) would be good. I can extract the appropriate pieces and place them somewhere to give you a better idea. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934375#3934375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934375 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
