• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

getUserPrincipal Problem

I need to pass a javax.security.Principal object to a 3rd party library.

Problem is my request.getUserPrincipal() returns null.

It looks like its an authentication thing.

How do I fix this?    Is there a basic how-to that will make sure my "user" is authenticated properly?
0
tmonteit
Asked:
tmonteit
1 Solution
 
kannan_ekanathCommented:
You are not authenticated properly. Is it a web application. See if the UI page is secured (meaning you will need a username/password to access the page). Most app servers like weblogic have standard mechanisms of doing this.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now