Getting User Mapping
This section describes how to retrieve the user mapping (that is, the user name and password) associated with a system for the current user. The portal tries to connect to the back-end system using this user name and password when the current user requests an iView that connects with the system.
The example below uses mySystem, which is an ISystem object.
...
1. Get the ISystemUserMappingData object associated with the system for the current user.
ISystemUserMappingData userMappingData = mySystem.getUserMappingData(
request.getUser());
2. Get the user name or password from the ISystemUserMappingData object.
userMappingData.getUser();
userMappingData.getPassword();