private void updateProperties(TurmsProperties properties) {
        SimultaneousLoginProperties loginProperties = properties.getGateway()
                .getSimultaneousLogin();
        allowDeviceTypeUnknownLogin = loginProperties.isAllowDeviceTypeUnknownLogin();
        allowDeviceTypeOthersLogin = loginProperties.isAllowDeviceTypeOthersLogin();
        loginConflictStrategy = loginProperties.getLoginConflictStrategy();

        SimultaneousLoginStrategy simultaneousLoginStrategy = loginProperties.getStrategy();
        deviceTypeToExclusiveDeviceTypes =
                newExclusiveDeviceFromStrategy(simultaneousLoginStrategy);
        forbiddenDeviceTypes = newForbiddenDeviceTypesFromStrategy(simultaneousLoginStrategy);
    }
Forbidden device types can never connect to turms servers
turms-gateway/src/main/java/im/turms/gateway/domain/session/service/UserSimultaneousLoginService.java