SAP Knowledge Base Article - Preview

3232970 - How to import password hashes (encoded by password encoder PBKDF2) with impexes script

Symptom

To sync employees between different environments,

  • if want to run an Impex script to import the users with their password hashes included. Below works.
    $passwordEncoding=pbkdf2
    $defaultPassword=test123
    $setPassword=@password[translator=de.hybris.platform.impex.jalo.translators.ConvertPlaintextToEncodedUserPasswordTranslator][default='$passwordEncoding:$defaultPassword']
    INSERT_UPDATE Employee;UID[unique=true];$setPassword;
    ;user@company.com;

  • but if want to have something like the following, need to store the password hash within the impex script instead of a plain text password. Please refer to this article which explains the impex script to import password hashes.
    ;UID[unique=true]     ;passwordencoding;encodedPassword
    ;user@company.com ;pbkdf2;"<password_hash_here>"

***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***


Read more...

Environment

All SAP Commerce Versions

Product

SAP Commerce all versions

Keywords

pbkdf2, password, impex import script , KBA , CEC-SCC-CDM-CKP-COR , Core , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.