Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getSessionContext().getCallerPrincipal().getName() is returning <anonymous>

 
sivakumar sreepathi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is you web applciation defined with a security constraint?
 
sivakumar sreepathi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes we are using Ldap security constraints for validating the username and password
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic