This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sivakumar sreepathi
Greenhorn
Posts: 2
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes we are using Ldap security constraints for validating the username and password
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic