Password Encoding
MATRIXX applications support md5 and Spring Framework supported password encodings.
MATRIXX applications support the following password encodings:
- md5
- bcrypt
- noop
- pbkdf2
- scrypt
- sha256
In MATRIXX configuration files such as rsgateway_users.yaml, preface
the password with EncodingAlgorithm to identify the encryption
algorithm of the encoded password. For
example:
username: '{EncodingAlgorithm}EncodedPassword/BG, MTX_ROLE_RSG_CREATE, MTX_ROLE_RSG_READ, MTX_ROLE_RSG_UPDATE, MTX_ROLE_RSG_DELETE, MTX_ROLE_RSG_STD'
Passwords such as the following that are not prefaced with an encoding such as
{bcrypt}
or {md5}
are interpreted to be MD5
encoded.username: '0a385c77bace3b164fe4ae361f8f3202, MTX_ROLE_RSG_CREATE, MTX_ROLE_RSG_READ, MTX_ROLE_RSG_UPDATE, MTX_ROLE_RSG_DELETE, MTX_ROLE_RSG_STD'
Note: Spring Security updates passwords to bcrypt. You can disable the
update to bcrypt in the rsgateway-site.yaml file. For more information,
see the discussion about RS Gateway
connection properties.