Hi Michael,
the way I do this is by using a TFIM:SSO junction with an STS chain.
var principalName = stsuu.getPrincipalName();
stsuu.getPrincipalAttributeContainer().clear();
// TODO: this is a hardcoded technical user.
stsuu.addPrincipalAttribute(new Attribute("name", "urn:ibm:names:ITFIM:ltpa", "CN=yourotheruser,ou=users,o=XXXX,c=XX"));
This approach does not change the credential of the logged in user in ISAM, but allows to modify the LTPA token.
It does require the federation module, though.
------------------------------
Tom Bosmans
------------------------------