OpenSSO Enterprise provides the single sign-on API for C to be used primarily with web-based applications. It can though be extended to non-web applications with limitations. You can use the API with non-web applications in either of the following ways:
The application has to obtain the OpenSSO Enterprise cookie value and pass it to the single sign-on client methods to retrieve the SSOToken. The method used for this process is application-specific.
Command line applications, such as ssoadn, can be used. Session tokens can be created to access Directory Server directly. No session is created, making OpenSSO Enterprise access valid only within that process or virtual machine.