Add extra condition to security properties config