Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Is it possible to create an operator via WebApp or API

Avatar

Level 5

Hi All,

Is it possible to create an operator through a means other than the Access Management --> Operators node from within the console?

I'm thinking through a webapp or via an external webform that updates the xtk:operator schema via API.

I've been able to create an operator in this way, but trying to set the password [access/@password] has been difficult.

I can see it's updated to the string value i've set it to, but i gather this attribute has some kind of extra encryption - meaning the string value i've set does not work as a valid console when subsequently trying to login through the console.

Thanks

David

4 Replies

Avatar

Level 10

Hi David,


I guess your Adobe Campaign is classic version 6.1, not ACS, and I wonder if you are in On Premise mode or Cloud hosting.

If your external application is somewhat a standard authentication mechanism such as Active Directory or OpenLDAP, you should think about using the Adobe Campaign LDAP optional module (see your contract or Adobe contact about this).

https://docs.campaign.adobe.com/doc/AC/en/INS_Additional_configurations_Instance_configurations.html

You can use MD5 crypt algorithm or plain text with SSL/TLS, it depends of your company directory.

If you can't get this LDAP module, you should probably encrypt by your own the password information, I guess in MD5; please try this AC Javascript API: digestStrMd5.


But take care for security reasons if you want to develop your own code with webApp or external form (SOAP), it must be robust enough to avoid any security hole, and be maintained and checked regularly against hacking exploits... I don't recommend too much doing such a way...

Regards
Jean-Serge

Avatar

Level 10

Hi David,

I do think that you should use rather session methods Encrypt or EncryptServerPassword, because if it is not MD5 but AES (DES is deprecated) or SHA256 or 512 used you wouldn't have to know what encryption algorithm is used (and MD5 and AES are far less better than SHA2 (SHA256/SHA512).

Regards
J-Serge

Hello

I have a similar issue: I need to create 268 account on my Adobe Campaign instance.

I wanted to use a workflow to do that but I'm stuck with the password encryption (among other things: not all the column of the Operator table can be updated).

The Encrypt and EncryptServerPassword functions are not recognised (undefined function error in javascript)

The digestStrMd5 does not provide the expected result

Any other function that I could use ?

Thanks for your help

Avatar

Level 10

Hi David,

As Jean-Serge mentioned, you have several options, depending on the authentication mode you use. Note that Campaign also supports IMS (login through Adobe ID), which is convenient if you use multiple Experience Cloud solutions.

Please let us know if you did find the right implementation for your use case.

Florent