On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

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?