This content has been marked as final.
Show 2 replies
-
2. Re: Different j_username and getRemoteUser
jits_1998 Feb 23, 2005 9:42 AM (in response to jits_1998)thanks, I will try this out.
Hi,
I have a JAAS implementation in jboss. On the login page the user enters a login id = xxx. After j_security_check I would like the request.getRemoteUser() to return a different value. Please tell me how to accomplish this.
Basically we are using LDAP authentication and the user should enter only xxx from uid=xxx,ou=people,dc=company,dc=com. But when anywhere later in the application, we want to call getRemoteUser() it should give us full distinguishing name (dn) i.e. uid=xxx,ou=people,dc=company,dc=com.
Please anyone guide me to achieve this.
Thanks in advance,
Jitendra
thanks, I will try this out.