XD-2235 Allow for 'security.basic.realm' to control the security realm