| Author |
getSessionContext().getCallerPrincipal().getName() is returning <anonymous>
|
sivakumar sreepathi
Greenhorn
Joined: Jul 01, 2010
Posts: 2
|
|
Hi all,
the following statement "getSessionContext().getCallerPrincipal().getName()" is working fine and returning Usernamer in weblogic 8 and UNIX box. when we migrated the application to weblogic 10.3 and Windows box, above statement is returning <anonymous>. can any one please guide me how to solve this problem.
Thanks in advacne
Sivakumar S.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Is you web applciation defined with a security constraint?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
sivakumar sreepathi
Greenhorn
Joined: Jul 01, 2010
Posts: 2
|
|
yes we are using Ldap security constraints for validating the username and password
|
 |
 |
|
|
subject: getSessionContext().getCallerPrincipal().getName() is returning <anonymous>
|
|
|