JAVA/CORBA CLASSES


getSessionToken method
Gets a session token for enabling sign-on to Domino and WebSphere servers in a domain that supports Single Sign-on.

Note This method is new with Release 5.0.5.

Defined in

Session

Data type

String

Syntax

public String getSessionToken()
   throws NotesException

public String getSessionToken(String serverName)
   throws NotesException

Parameters

String serverName


Return value

String


Usage

The token is unique for each user and is valid for the time specified in the Domino Directory. The format of the token is consistent with the LtpaToken cookie used by a WebSphere server when the SSO configuration of the Domino server imports the Websphere server keys.

You can also get the token from the HTTP headers in a servlet with HttpServletRequest.getCookies().

See NotesFactory for usage and examples.