M
Michael Jacobs
Guest
The Client-Principal:validate( domain-access-code ) does not use the HelpdeskMobile domain you configured in your database. The general rule to remember is that all domain access codes are entered into utilities as clear-text, and stored in encrypted/encoded form. (OE will automatically do the encrypting/decrypting for you) So enter clear-text domain-access-code into the Admin, genspacp, and genpassword utilties in clear-text. When you manually store the domain access codes outside of the OE database then put the oech1::xxxx values in text files. The Client-Principal:validate() method will do the decoding of the oech1::xxxx value for you to do the validation. One debug trick is to enter the clear-text value into genspacp and the Client-Principal:validate() to ensure you are sending the right C-P from the REST service. Dump the C-P user-id,domain,session-id, and create-date in your server's debug code and see that they align with when and what you entered into the genspacp utility. When that works, then change the storage of the domain-access-code in the text file to the oech1::xxxx form.
Continue reading...
Continue reading...