Oracle WebCenter Interaction Development Kit (IDK) 10.3.0.0.0

RemoteSessionFactory.GetExplicitLoginContext Method (Uri, String, String)

Returns an IRemoteSession with the same security context in the portal as the specified user. The session is valid for 10 minutes.

public static IRemoteSession GetExplicitLoginContext(
   Uri endpoint,
   string username,
   string password
);

Parameters

endpoint
The SOAP endpoint of the WS portal (ptapi). For example, a Java WS portal installation might use http://hostname:port/ptapi/services/QueryInterfaceAPI while a .NET WS portal might use http://hostname:port/ptapi/QueryInterfaceAPI.asmx. These endpoints will vary according to the deployment.
username
The username whose security context to use.
password
The user's password.

Return Value

An IRemoteSession object representing the current session with the portal.

Exceptions

Exception Type Condition
PortalException The operation resulted in an error on the portal.
HttpException The endpoint URL is not valid.

See Also

RemoteSessionFactory Class | Plumtree.Remote.PRC Namespace | RemoteSessionFactory.GetExplicitLoginContext Overload List