adjust the DoctrinePHPCRExtension::sessionLoad when we drop jackalope 1 support to correctly handle null username and password and pass null instead of credentials with null value (which only works because PHPCR is not yet type safe, the username and password are declared as string but only in doc annotations). we should forbid in the configuration to only set username or only password - if one is set, both must be set.
with jackalope-doctrine-dbal, the credentials can theoretically be
null
. since https://github.com/jackalope/jackalope-doctrine-dbal/pull/419 it also practically works correctly to pass null to the Repository::login method.adjust the DoctrinePHPCRExtension::sessionLoad when we drop jackalope 1 support to correctly handle null username and password and pass null instead of credentials with null value (which only works because PHPCR is not yet type safe, the username and password are declared as
string
but only in doc annotations). we should forbid in the configuration to only set username or only password - if one is set, both must be set.