1 of 1 people found this helpful
You need to look that up in the LDAP server yourself.
Don't exist one implementation of a custom principal that retrieve the full name?
Don't know if that even if standardized enough to be done?
I solved my problem customizing my AdvancedLdapLoginModule e setting a custom principal on Subject.class
in my application I retrieve this PrincipalCustom.class by getSubject().getPrincipals(PrincipalCustom.class);
so, I get full name of user.
thanks for all.
PS: the navie servlet method 'request.getUserPrincipal()' don't retorno my customPrincipal.