How do I create a session?

In order to use methods like getValidSessions() in the Session class of the SessionAPI for iPlanet Portal Server, I need a Session object. There is no obvious way to construct one based on the javadocs. I can get one from a SessionID object, but in order to create a SessionID object, I need a HTTP request or an encrypted string, i.e. SessionID( String sid ). How can I create a Session object, or how can I create a SessionID object (which will allow me to get a Session object)? Any help is much appreciated. NOTE: I'm building a plain Java utility to use the Portal Server API to retrieve session and profile information, and I'm not implementing it as a servlet.

[683 byte] By [708953] at [2007-11-25 4:37:41]
# 1
From com.iplanet.portalserver.providers.ProviderAdapater use the getSession() method whish returns com.iplanet.portalserver.session.Session objectThen from Session class use the method getValidSessions()method
708850 at 2007-6-29 3:09:08 > top of Java-index,Web & Directory Servers,Portal Servers...