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
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 124 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax