// inform if sdi.suite integration is enabled
IntegrationContextFactory icf = new IntegrationContextFactory();
if (icf.isIntegrationEnabled()) {
IntegrationContext ic = icf.newIntegrationContext();
if (ic != null) {
ic.ensureToken(user);
ic.initializeUser(user);
}
}
// set the outcome