login API
I want to write a standalone java program to export user object.
By reading jsp page under /debug/Get_Object.jsp, I found I need to login to the repository and establish a user session. Then I will be able to call getObjectIfExists() to export the object.
So what API can I use to login?
thank you.
[324 byte] By [
thu26a] at [2007-11-27 2:11:31]

# 1
look at the session API:
- create a loginInfo object
- create a session
- login to the session
All in the REF kit.
BUT be careful: manipulating the user object outside of IdM can leave IdM in a corrupted state. The user object contains referneces to a lot of other objects and one error there and the user object is useless.
WilfredS