-
Enhancement
-
Resolution: Obsolete
-
Major
-
1.1.7.Final
-
None
Currently BCrypt mapper for DB realm does not support MCF format passwords (which does not require explicit salt or iterations):
17:42:28,328 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 3) WFLYCTL0013: Operation ("add") failed - address: ([ ("subsystem" => "elytron"), ("jdbc-realm" => "DatabaseRealm") ]) - failure description: "WFLYCTL0155: 'salt-index' may not be null"
Support should be added to support MCF password so only single column needed in DB.
Logic:
if (password && !salt && !iterations) assume MCF format password else if (password && salt && iterations) assume BCrypt (b64) password, etc else error