[jboss-user] [Security & JAAS/JBoss] - Propagating custom principal

dizzydewil do-not-reply at jboss.com
Tue Mar 24 12:10:03 EDT 2009


Hi,

After upgrade JBOSS from version 4.0.5 to 4.2.3 (requirements for EJB3 and JAX WS) I have problem with propagating custom principal.

I have web application (used as a presentation layer) and EJB component (used as a business layer) both on the same JBOSS version (4.2.3) but different machines.
JAAS based login mechanism (with login modules) is mixed (LDAP + database) which provide custom principal class with additional informations like language in UI (multilingual application). Before for propagating principal to EJB I  had to use SecurityAssociation.setPrincipal() for pass my principal class (unless JbossGenericPrincipal was passed) in filter class (in WebApp) with currently used lang (java.util.Locale), now (after upgrade) principal is passed without any extra code but I can't set current lang (in passed principal).

Any idea ?
  

Regards Pawel

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220676#4220676

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220676



More information about the jboss-user mailing list