Skip to Main Content

Java User Groups

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need help pulling current logged in web user's username and groups from iPlanet

4318188Aug 31 2020

I need guidance on writing a simple program to pull data about the current webserver user from iPlanet, specifically the user's username and group affiliations.

Java seems like the best option since iPlanet apparently comes with Java samples, but I'm open to any solution that can pull user details during a request.

iPlanet apparently came with Java sample projects which I don't see in our install, and we no longer have access to install media. Is there somewhere we can view the sample code?

Testing some simple .jsp scripts, the "request" object is recognized but all user methods return null. Is this type of data only available through a .java file, or is it possible java isn't communicating with iPlanet?

I know this request is not well defined. After much trial and error and reading outdated docs, I don't feel like I'm any closer to achieving this seemingly simple task, so I'm hoping someone else has set this up and has an answer at hand.

Comments

877531
After playing around with it more, it is just a problem with VS 2010 and its tableadapter wizard. If I run it outside the wizard everything works fine.
1 - 1

Post Details

Added on Aug 31 2020
0 comments
41 views