Added ManagementRealm configuration code.