getUserPrincipal Problem

I need to pass a 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?
Who is Participating?
kannan_ekanathConnect With a Mentor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.