Skip to Content
0
Former Member
Mar 06, 2006 at 05:33 PM

Retrieving User in JSP page?

1308 Views

The goal is to simply access the logged in user's information from a JSP page.

What we've done so far is setup an application on Basic Authentication. We deployed a simple JSP "application" with the Authentication. When we hit it, we get a logon prompt. So far so good.

Now the only problem is, I've been trying to retrieve the user information with the IUserFactory. However, I'm getting exceptions when I use them. I'm not sure if using the I* interfaces are acceptable in a simple JSP page so that's what I wanted to know.

Is my whole attempt in retrieving the IUser in a simple JSP incorrect or must I use a servlet or another component?

Thanks,

David