About Siebel Authentication and Session Management SOAP Headers
You can use Siebel Authentication and Session Management SOAP headers to send and receive user credentials and session information. You can send a username and password for login that calls one of the following sessions:
One that closes after the outbound response is sent.
One that remains open after the response is sent.
For example, a custom Web application can send a request that includes a username and password, and calls a stateless session, one that remains open after the outbound response is sent. The Siebel Server generates an encrypted session token that contains user credentials and a session ID. The Siebel Server includes the session token in the SOAP header of the outbound response. The client application is responsible for capturing the returned session token and including it in the SOAP header of the next request.
The Session Manager on the Siebel Application Interface (AI) extracts the user credentials and session ID from the session token and reconnects to the session on the Siebel Server. If the original session has been closed, then a new session is created.
You can use the SOAP headers listed in the following table to call different types of sessions and pass authentication credentials.
SOAP Header Block | Description |
---|---|
SessionType |
You use the SessionType SOAP header to define the type of session. Valid values are None, Stateless, Stateful, and ServerDetermine:
If SessionType is absent, then the default value is None, and the session will be closed after the request is processed. |
UsernameToken |
You use the UsernameToken SOAP header to send the login ID to the Siebel Server. |
PasswordText |
You use the PasswordText SOAP header to send the password used by the login ID to the Siebel Server. If using Web single sign-on (SSO), then use the Siebel trust token value in PasswordText instead of the password. |
SessionToken |
Session tokens are used with stateless requests. They are sent and received using the SessionToken SOAP header. After receiving an initial request with valid authentication credentials and a session type set to Stateless, the Siebel Server generates a session token and includes it in the SOAP header of the outbound response. The session token is encrypted and consists of a session ID and user credentials. The custom Web application uses the session token for subsequent requests. The Session Manager on the AI extracts a session ID and user credentials from the session token, and then passes the information to the Siebel Server. The session ID is used to reconnect to an existing session or automatically log in again if the session has been terminated. Note: Reconnecting or automatic logging in
again will only happen if the token has not timed out. If it times
out, then the user must manually log in again. Token timeout must
be greater than or equal to session timeout. For more information
on session token timeout, see Session and Session Token Timeout-Related Parameters. However, the session token must be changed to the new one sent on every response. The session token has a maximum time to live, which can invalidate it even if its timeout (for being inactive) has not been reached. Always get the newest session token returned by the response and use it on the next request. The same session token must not be used by concurrent requests, because having multiple requests point to the same session token can cause errors. |
For examples of using SOAP headers for session management and authentication, see Examples of Using SOAP Headers for Siebel Authentication and Session Management.
The namespace used with Siebel Authentication and Session Management SOAP headers is:
xmlns="http://siebel.com/webservices"