[jboss-user] [JBoss Seam] - Setting a

MikeDougherty do-not-reply at jboss.com
Tue Feb 20 15:06:40 EST 2007


Good afternoon,

I have an Authenticator that connects to the company's LDAP to authenticate. Which is working perfectly. In the LDAP there is a "Display Name" for the user. I think it would be nice to show this in the loginout.xhtml page rather than the username. Currently I am doing this via the following code:


  | org.jboss.seam.contexts.Contexts.getSessionContext().set("userDisplayName", displayName);
  | 

By think it might be cleaner to have something like:


  |   Identity.instance().setName(displayName);
  | 

Or something similar. Is this possible at this point?

Thanks.

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

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



More information about the jboss-user mailing list