Problem using IDfSession.assume() to get superuser session
I am upgrading some TBO code from D6.0 to D6.7. The code executes some operations as a superuser. To do this, I get the user and encrypted password from a properties file and us the assume method.
String superUser = <get from properties file>
String superPass = <get from properties file>
// superPass is of the form DM_ENCR_PASS=....
IDfLoginInfo objLogin = session.getLoginInfo();
objLogin.setUser(superUser);
objLogin.setPassword(superPass);
objLogin.setDomain();
session.assume(objLogin);
assume() throws an exception that states that authentication failed. I can login to IAPI32 using the password in its encrypted form, so I am confident the password is still right. This has worked fine for years but no longer works now that I have upgraded to D6.7. Does anyone have any ideas or similar experience? Did assume() change between D6.0 and D6.7?
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax