This content has been marked as final.
Show 4 replies
-
1. Re: how to get the full name of the authenticated user?
sfcoy Dec 11, 2012 8:41 AM (in response to raneves)1 of 1 people found this helpfulYou need to look that up in the LDAP server yourself.
-
2. Re: how to get the full name of the authenticated user?
raneves Dec 11, 2012 8:56 AM (in response to sfcoy)Don't exist one implementation of a custom principal that retrieve the full name?
-
3. Re: how to get the full name of the authenticated user?
nickarls Dec 12, 2012 2:43 AM (in response to raneves)Don't know if that even if standardized enough to be done?
-
4. Re: how to get the full name of the authenticated user?
raneves Dec 13, 2012 4:38 PM (in response to raneves)Hello, people.
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.